home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sound Blastoff
/
Sound Blastoff.iso
/
Sound Utilities
/
Parrot10b1 Folder
/
Parrot b1
/
Parrot b1.rsrc
/
CODE_2.txt
< prev
next >
Wrap
Text File
|
1993-09-10
|
121KB
|
2,193 lines
# near model CODE resource
# jump table entries: 80-85 (6 of them)
fn00000000:
00000000 4E56 0000 link A6, 0
00000004 203C 0000 A89F move.l D0, 0xA89F
0000000A A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
0000000C 2F08 move.l -[A7], A0
0000000E 203C 0000 A0AD move.l D0, 0xA0AD
00000014 A346 syscall GetOSTrapAddress, flags=3
00000016 B1DF cmpa.l A0, [A7]+
00000018 670E beq +0x10 /* 00000028 */
0000001A 202E 000C move.l D0, [A6 + 0xC]
0000001E A1AD syscall Gestalt, flags=1
00000020 226E 0008 movea.l A1, [A6 + 0x8]
00000024 2288 move.l [A1], A0
00000026 6026 bra +0x28 /* 0000004E */
label00000028:
00000028 41FA 0036 lea.l A0, [PC + 0x36 /* 00000060, value 0x76657273 'vers' */]
0000002C 303C EA51 move.w D0, 0xEA51
00000030 222E 000C move.l D1, [A6 + 0xC]
label00000034:
00000034 B298 cmp.l D1, [A0]+
00000036 6706 beq +0x8 /* 0000003E */
00000038 4A98 tst.l [A0]+
0000003A 6712 beq +0x14 /* 0000004E */
0000003C 60F6 bra -0x8 /* 00000034 */
label0000003E:
0000003E 43FA 0020 lea.l A1, [PC + 0x20 /* 00000060, value 0x76657273 'vers' */]
00000042 D3D0 add.l A1, [A0]
00000044 4ED1 jmp [A1]
label00000046:
00000046 226E 0008 movea.l A1, [A6 + 0x8]
0000004A 2280 move.l [A1], D0
0000004C 4240 clr.w D0
label0000004E:
0000004E 3D40 0010 move.w [A6 + 0x10], D0
00000052 4E5E unlink A6
00000054 205F movea.l A0, [A7]+
00000056 508F addq.l A7, 8
00000058 4ED0 jmp [A0]
label0000005A:
0000005A 303C EA52 move.w D0, 0xEA52
0000005E 60EE bra -0x10 /* 0000004E */
00000060 7665 moveq.l D3, 0x65
00000062 7273 moveq.l D1, 0x73
00000064 0000 0060 ori.b D0, 0x60 /* '`' */
00000068 6D61 blt +0x63 /* 000000CB */
0000006A 6368 bls +0x6A /* 000000D4 */
0000006C 0000 0064 ori.b D0, 0x64 /* 'd' */
00000070 7379 moveq.l D1, 0x79
00000072 7376 moveq.l D1, 0x76
00000074 0000 0088 ori.b D0, 0x88
00000078 7072 moveq.l D0, 0x72
0000007A 6F63 ble +0x65 /* 000000DF */
0000007C 0000 0092 ori.b D0, 0x92
00000080 6670 bne +0x72 /* 000000F2 */
00000082 7520 moveq.l D2, 0x20
00000084 0000 009E ori.b D0, 0x9E
00000088 7164 moveq.l D0, 0x64
0000008A 2020 move.l D0, -[A0]
0000008C 0000 00E8 ori.b D0, 0xE8
00000090 6B62 bmi +0x64 /* 000000F4 */
00000092 6420 bcc +0x22 /* 000000B4 */
00000094 0000 011A ori.b D0, 0x1A
00000098 6174 bsr +0x76 /* 0000010E */
0000009A 6C6B bge +0x6D /* 00000107 */
0000009C 0000 0142 ori.b D0, 0x42 /* 'B' */
000000A0 6D6D blt +0x6F /* 0000010F */
000000A2 7520 moveq.l D2, 0x20
000000A4 0000 0164 ori.b D0, 0x64 /* 'd' */
000000A8 7261 moveq.l D1, 0x61
000000AA 6D20 blt +0x22 /* 000000CC */
000000AC 0000 0188 ori.b D0, 0x88
000000B0 6C72 bge +0x74 /* 00000124 */
000000B2 616D bsr +0x6F /* 00000121 */
label000000B4:
000000B4 0000 0188 ori.b D0, 0x88
000000B8 0000 0000 ori.b D0, 0x0
000000BC 0000 0000 ori.b D0, 0x0
000000C0 7001 moveq.l D0, 0x01
000000C2 6082 bra -0x7C /* 00000046 */
000000C4 2278 02AE movea.l A1, [0x000002AE /* ROMBase */]
000000C8 7004 moveq.l D0, 0x04
000000CA 0C69 0075 0008 cmpi.w [A1 + 0x8], 0x75 /* 'u' */
// begin alternate branch 000000CC-000000DA
label000000CC:
000000CC 0075 0008 6712 0C69 ori.w [[A5 + D6 * 8] + 0xC69], 0x8
label000000D4:
000000D4 0276 0008 6604 andi.w [A6 + D6.w * 8 + 0x4], 0x8
// end alternate branch 000000CC-000000DA
label000000CC: // (misaligned)
000000D0 6712 beq +0x14 /* 000000E4 */
000000D2 0C69 0276 0008 cmpi.w [A1 + 0x8], 0x276
label000000D4: // (misaligned)
000000D8 6604 bne +0x6 /* 000000DE */
000000DA 5240 addq.w D0, 1
000000DC 6006 bra +0x8 /* 000000E4 */
label000000DE:
000000DE 1038 0CB3 move.b D0, [0x00000CB3 /* MMUFluff/MachineType */]
000000E2 5C80 addq.l D0, 6
label000000E4:
000000E4 6000 FF60 bra -0x9E /* 00000046 */
000000E8 7000 moveq.l D0, 0x00
000000EA 3038 015A move.w D0, [0x0000015A /* SysVersion */]
000000EE 6000 FF56 bra -0xA8 /* 00000046 */
label000000F2:
000000F2 7000 moveq.l D0, 0x00
label000000F4:
000000F4 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
000000F8 5240 addq.w D0, 1
000000FA 6000 FF4A bra -0xB4 /* 00000046 */
000000FE 0C38 0004 012F cmpi.b [0x0000012F /* CPUFlag */], 0x4
00000104 6738 beq +0x3A /* 0000013E */
00000106 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
0000010C 6734 beq +0x36 /* 00000142 */
fn0000010E:
0000010E 204F movea.l A0, A7
00000110 F280 .extension 0x280 // unimplemented
00000112 0000 F327 ori.b D0, 0x27 /* '\'' */
00000116 3017 move.w D0, [A7]
00000118 2E48 movea.l A7, A0
0000011A 0C40 1F18 cmpi.w D0, 0x1F18
0000011E 6716 beq +0x18 /* 00000136 */
00000120 0C40 3F18 cmpi.w D0, 0x3F18
label00000124:
00000124 6710 beq +0x12 /* 00000136 */
00000126 0C40 3F38 cmpi.w D0, 0x3F38 /* '?8' */
0000012A 670E beq +0x10 /* 0000013A */
0000012C 0C40 1F38 cmpi.w D0, 0x1F38
00000130 6708 beq +0xA /* 0000013A */
00000132 7000 moveq.l D0, 0x00
00000134 600E bra +0x10 /* 00000144 */
label00000136:
00000136 7001 moveq.l D0, 0x01
00000138 600A bra +0xC /* 00000144 */
label0000013A:
0000013A 7002 moveq.l D0, 0x02
0000013C 6006 bra +0x8 /* 00000144 */
label0000013E:
0000013E 7003 moveq.l D0, 0x03
00000140 6002 bra +0x4 /* 00000144 */
label00000142:
00000142 7000 moveq.l D0, 0x00
label00000144:
00000144 6000 FF00 bra -0xFE /* 00000046 */
00000148 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
0000014E 6E1C bgt +0x1E /* 0000016C */
00000150 303C A89F move.w D0, 0xA89F
00000154 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00000156 2408 move.l D2, A0
00000158 203C 0000 AB03 move.l D0, 0xAB03
0000015E A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00000160 203C 0000 0100 move.l D0, 0x100
00000166 B488 cmp.l D2, A0
00000168 6606 bne +0x8 /* 00000170 */
0000016A 600A bra +0xC /* 00000176 */
label0000016C:
0000016C 7000 moveq.l D0, 0x00
0000016E 6006 bra +0x8 /* 00000176 */
label00000170:
00000170 203C 0000 0200 move.l D0, 0x200
label00000176:
00000176 6000 FECE bra -0x130 /* 00000046 */
0000017A 1038 021E move.b D0, [0x0000021E /* KbdType */]
0000017E 41FA 0016 lea.l A0, [PC + 0x16 /* 00000196, value 0x3130B02 */]
00000182 2248 movea.l A1, A0
label00000184:
00000184 1218 move.b D1, [A0]+
00000186 6700 FED2 beq -0x12C /* 0000005A */
0000018A B200 cmp.b D1, D0
0000018C 66F6 bne -0x8 /* 00000184 */
0000018E 91C9 sub.l A0, A1
00000190 2008 move.l D0, A0
00000192 6000 FEB2 bra -0x14C /* 00000046 */
00000196 0313 btst [A3], D1
00000198 0B02 btst D2, D5
0000019A 0106 btst D6, D0
0000019C 0704 btst D4, D3
0000019E 0508 btst A0, D2
000001A0 0900 btst D0, D4
000001A2 7000 moveq.l D0, 0x00
000001A4 4A38 0291 tst.b [0x00000291 /* PortBUse */]
000001A8 6B16 bmi +0x18 /* 000001C0 */
000001AA 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
000001AE 0201 000F andi.b D1, 0xF
000001B2 0C01 0001 cmpi.b D1, 0x1
000001B6 6608 bne +0xA /* 000001C0 */
000001B8 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
000001BC 1028 0007 move.b D0, [A0 + 0x7]
label000001C0:
000001C0 6000 FE84 bra -0x17A /* 00000046 */
000001C4 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
000001CA 6D16 blt +0x18 /* 000001E2 */
000001CC 7000 moveq.l D0, 0x00
000001CE 1038 0CB1 move.b D0, [0x00000CB1 /* MMUType */]
000001D2 0C00 0001 cmpi.b D0, 0x1
000001D6 670C beq +0xE /* 000001E4 */
000001D8 0C00 0003 cmpi.b D0, 0x3
000001DC 6D04 blt +0x6 /* 000001E2 */
000001DE 5340 subq.w D0, 1
000001E0 6002 bra +0x4 /* 000001E4 */
label000001E2:
000001E2 7000 moveq.l D0, 0x00
label000001E4:
000001E4 6000 FE60 bra -0x19E /* 00000046 */
000001E8 303C A89F move.w D0, 0xA89F
000001EC A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000001EE 2408 move.l D2, A0
000001F0 203C 0000 A88F move.l D0, 0xA88F
000001F6 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000001F8 2038 0108 move.l D0, [0x00000108 /* MemTop */]
000001FC B488 cmp.l D2, A0
000001FE 670A beq +0xC /* 0000020A */
00000200 598F subq.l A7, 4
00000202 3F3C 0016 move.w -[A7], 0x16
00000206 A88F syscall OSDispatch
00000208 201F move.l D0, [A7]+
label0000020A:
0000020A 6000 FE3A bra -0x1C4 /* 00000046 */
fn0000020E:
0000020E 225F movea.l A1, [A7]+
00000210 205F movea.l A0, [A7]+
00000212 A025 syscall GetHandleSize
00000214 2E80 move.l [A7], D0
00000216 6A02 bpl +0x4 /* 0000021A */
00000218 4297 clr.l [A7]
label0000021A:
0000021A 4ED1 jmp [A1]
fn0000021C:
0000021C 206F 0008 movea.l A0, [A7 + 0x8]
00000220 3F3C 0001 move.w -[A7], 0x1
00000224 A9EE syscall Pack7/DecStr68K
00000226 206F 0004 movea.l A0, [A7 + 0x4]
0000022A 2080 move.l [A0], D0
0000022C 4EFA 000E jmp [PC + 0xE /* 0000023C */]
fn00000230:
00000230 206F 0004 movea.l A0, [A7 + 0x4]
00000234 202F 0008 move.l D0, [A7 + 0x8]
00000238 4267 clr.w -[A7]
0000023A A9EE syscall Pack7/DecStr68K
label0000023C:
0000023C 205F movea.l A0, [A7]+
0000023E 504F addq.w A7, 8
00000240 4ED0 jmp [A0]
fn00000242:
00000242 4E56 0000 link A6, 0
00000246 594F subq.w A7, 4
00000248 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
0000024E 3F2E 000A move.w -[A7], [A6 + 0xA]
00000252 A9A0 syscall GetResource
00000254 226E 000C movea.l A1, [A6 + 0xC]
00000258 4211 clr.b [A1]
0000025A 201F move.l D0, [A7]+
0000025C 6722 beq +0x24 /* 00000280 */
0000025E 2040 movea.l A0, D0
00000260 2050 movea.l A0, [A0]
00000262 3018 move.w D0, [A0]+
00000264 322E 0008 move.w D1, [A6 + 0x8]
00000268 6716 beq +0x18 /* 00000280 */
0000026A B240 cmp.w D1, D0
0000026C 6212 bhi +0x14 /* 00000280 */
0000026E 7000 moveq.l D0, 0x00
label00000270:
00000270 5341 subq.w D1, 1
00000272 6706 beq +0x8 /* 0000027A */
00000274 1018 move.b D0, [A0]+
00000276 D1C0 add.l A0, D0
00000278 60F6 bra -0x8 /* 00000270 */
label0000027A:
0000027A 1010 move.b D0, [A0]
0000027C 5240 addq.w D0, 1
0000027E A02E syscall BlockMove/BlockMoveData
label00000280:
00000280 4E5E unlink A6
00000282 205F movea.l A0, [A7]+
00000284 508F addq.l A7, 8
00000286 4ED0 jmp [A0]
fn00000288:
00000288 4E56 FFF8 link A6, -0x0008
0000028C 2F07 move.l -[A7], D7
0000028E 3D7C 0051 FFF8 move.w [A6 - 0x8], 0x51 /* 'Q' */
00000294 426E FFFA clr.w [A6 - 0x6]
00000298 206E 0008 movea.l A0, [A6 + 0x8]
0000029C 7014 moveq.l D0, 0x14
0000029E D090 add.l D0, [A0]
000002A0 2D40 FFFC move.l [A6 - 0x4], D0
000002A4 4267 clr.w -[A7]
000002A6 2F2E 000C move.l -[A7], [A6 + 0xC]
000002AA 486E FFF8 pea.l [A6 - 0x8]
000002AE 4227 clr.b -[A7]
000002B0 A803 syscall SndDoCommand
000002B2 3E1F move.w D7, [A7]+
000002B4 4A47 tst.w D7
000002B6 670C beq +0xE /* 000002C4 */
000002B8 3F3C 0003 move.w -[A7], 0x3
000002BC 3F07 move.w -[A7], D7
000002BE 4EBA 1034 jsr [PC + 0x1034 /* 000012F4 */]
000002C2 588F addq.l A7, 4
label000002C4:
000002C4 2E1F move.l D7, [A7]+
000002C6 4E5E unlink A6
000002C8 4E75 rts
000002CA 8742 7566 pack D3, D2, 0x7566
000002CE 506C 6179 addq.w [A4 + 0x6179], 8
000002D2 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000002D4-000002D8
fn000002D4:
000002D4 4E56 FFFE link A6, -0x0002
// end alternate branch 000002D4-000002D8
fn000002D4: // (misaligned)
000002D6 FFFE .extension 0xFFE // unimplemented
000002D8 48E7 0108 movem.l -[A7], D7,A4
000002DC 286E 0008 movea.l A4, [A6 + 0x8]
000002E0 202D FF90 move.l D0, [A5 - 0x70]
000002E4 A122 syscall NewHandle, flags=1
000002E6 2848 movea.l A4, A0
000002E8 3E38 0220 move.w D7, [0x00000220 /* MemErr */]
000002EC 6604 bne +0x6 /* 000002F2 */
000002EE 200C move.l D0, A4
000002F0 660C bne +0xE /* 000002FE */
label000002F2:
000002F2 3F3C 0004 move.w -[A7], 0x4
000002F6 3F07 move.w -[A7], D7
000002F8 4EBA 0FFA jsr [PC + 0xFFA /* 000012F4 */]
000002FC 588F addq.l A7, 4
label000002FE:
000002FE 204C movea.l A0, A4
00000300 A064 syscall MoveHHi
00000302 A029 syscall HLock
00000304 3E38 0220 move.w D7, [0x00000220 /* MemErr */]
00000308 670C beq +0xE /* 00000316 */
0000030A 3F3C 0004 move.w -[A7], 0x4
0000030E 3F07 move.w -[A7], D7
00000310 4EBA 0FE2 jsr [PC + 0xFE2 /* 000012F4 */]
00000314 588F addq.l A7, 4
label00000316:
00000316 4267 clr.w -[A7]
00000318 2F0C move.l -[A7], A4
0000031A 3F3C 0001 move.w -[A7], 0x1
0000031E 2F2E 0010 move.l -[A7], [A6 + 0x10]
00000322 3F3C 0008 move.w -[A7], 0x8
00000326 2F3C 4E4F 4E45 move.l -[A7], 0x4E4F4E45 /* 'NONE' */
0000032C 3F3C 003C move.w -[A7], 0x3C /* '<' */
00000330 42A7 clr.l -[A7]
00000332 2F2E 000C move.l -[A7], [A6 + 0xC]
00000336 203C 0D48 0014 move.l D0, 0xD480014
0000033C A800 syscall SoundDispatch
0000033E 3E1F move.w D7, [A7]+
00000340 4A47 tst.w D7
00000342 670C beq +0xE /* 00000350 */
00000344 3F3C 0004 move.w -[A7], 0x4
00000348 3F07 move.w -[A7], D7
0000034A 4EBA 0FA8 jsr [PC + 0xFA8 /* 000012F4 */]
0000034E 588F addq.l A7, 4
label00000350:
00000350 4267 clr.w -[A7]
00000352 2F0C move.l -[A7], A4
00000354 3F3C 0001 move.w -[A7], 0x1
00000358 2F2E 0010 move.l -[A7], [A6 + 0x10]
0000035C 3F3C 0008 move.w -[A7], 0x8
00000360 2F3C 4E4F 4E45 move.l -[A7], 0x4E4F4E45 /* 'NONE' */
00000366 3F3C 003C move.w -[A7], 0x3C /* '<' */
0000036A 206E 000C movea.l A0, [A6 + 0xC]
0000036E 3050 movea.w A0, [A0]
00000370 202D FF90 move.l D0, [A5 - 0x70]
00000374 9088 sub.l D0, A0
00000376 2F00 move.l -[A7], D0
00000378 486E FFFE pea.l [A6 - 0x2]
0000037C 203C 0D48 0014 move.l D0, 0xD480014
00000382 A800 syscall SoundDispatch
00000384 3E1F move.w D7, [A7]+
00000386 4A47 tst.w D7
00000388 670C beq +0xE /* 00000396 */
0000038A 3F3C 0004 move.w -[A7], 0x4
0000038E 3F07 move.w -[A7], D7
00000390 4EBA 0F62 jsr [PC + 0xF62 /* 000012F4 */]
00000394 588F addq.l A7, 4
label00000396:
00000396 200C move.l D0, A4
00000398 4CDF 1080 movem.l D7,A4, [A7]+
0000039C 4E5E unlink A6
0000039E 4E75 rts
000003A0 8B53 or.w [A3], D5
000003A2 6574 bcs +0x76 /* 00000418 */
000003A4 5570 536F subq.w <<invalid full ext with IS == 1 and I/IS == 7>>, 2
000003A8 756E moveq.l D2, 0x6E
000003AA 6473 bcc +0x75 /* 0000041F */
000003AC 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000003AE-000003B6
fn000003AE:
000003AE 4E56 0000 link A6, 0
000003B2 48E7 0300 movem.l -[A7], D6,D7
// end alternate branch 000003AE-000003B6
fn000003AE: // (misaligned)
000003B0 0000 48E7 ori.b D0, 0xE7
000003B4 0300 btst D0, D1
000003B6 4267 clr.w -[A7]
000003B8 A861 syscall Random
000003BA 3E1F move.w D7, [A7]+
000003BC 3C2E 000A move.w D6, [A6 + 0xA]
000003C0 9C6E 0008 sub.w D6, [A6 + 0x8]
000003C4 5246 addq.w D6, 1
000003C6 3046 movea.w A0, D6
000003C8 2F08 move.l -[A7], A0
000003CA 2F3C 0001 0000 move.l -[A7], 0x10000
000003D0 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
000003D4 2F00 move.l -[A7], D0
000003D6 7000 moveq.l D0, 0x00
000003D8 3007 move.w D0, D7
000003DA 2F00 move.l -[A7], D0
000003DC 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
000003E0 D06E 0008 add.w D0, [A6 + 0x8]
000003E4 4CDF 00C0 movem.l D6,D7, [A7]+
000003E8 4E5E unlink A6
000003EA 4E75 rts
000003EC 8852 or.w D4, [A2]
000003EE 6E64 bgt +0x66 /* 00000454 */
000003F0 5261 addq.w -[A1], 1
000003F2 6E67 bgt +0x69 /* 0000045B */
000003F4 6500 0000 bcs +0x2 /* 000003F6 */
// begin alternate branch 000003F6-00000400
label000003F6:
000003F6 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn000003F8: // (misaligned)
000003FA 0000 48E7 ori.b D0, 0xE7
000003FE 0700 btst D0, D3
// end alternate branch 000003F6-00000400
label000003F6: // (misaligned)
fn000003F8:
000003F8 4E56 0000 link A6, 0
000003FC 48E7 0700 movem.l -[A7], D5,D6,D7
00000400 3E2E 000C move.w D7, [A6 + 0xC]
00000404 70FF moveq.l D0, 0xFFFFFFFF
00000406 D047 add.w D0, D7
00000408 3F00 move.w -[A7], D0
0000040A 4267 clr.w -[A7]
0000040C 4EBA FFA0 jsr [PC - 0x60 /* 000003AE */]
00000410 3C00 move.w D6, D0
00000412 7A00 moveq.l D5, 0x00
00000414 588F addq.l A7, 4
00000416 601E bra +0x20 /* 00000436 */
label00000418:
00000418 0C45 0064 cmpi.w D5, 0x64 /* 'd' */
0000041C 6F06 ble +0x8 /* 00000424 */
0000041E 7001 moveq.l D0, 0x01
00000420 D047 add.w D0, D7
00000422 6022 bra +0x24 /* 00000446 */
label00000424:
00000424 70FF moveq.l D0, 0xFFFFFFFF
00000426 D047 add.w D0, D7
00000428 3F00 move.w -[A7], D0
0000042A 4267 clr.w -[A7]
0000042C 4EBA FF80 jsr [PC - 0x80 /* 000003AE */]
00000430 3C00 move.w D6, D0
00000432 588F addq.l A7, 4
00000434 5245 addq.w D5, 1
label00000436:
00000436 700C moveq.l D0, 0x0C
00000438 C1C6 muls.w D0, D6
0000043A 206E 0008 movea.l A0, [A6 + 0x8]
0000043E 4A30 080A tst.b [A0 + D0 + 0xA]
00000442 67D4 beq -0x2A /* 00000418 */
00000444 3006 move.w D0, D6
label00000446:
00000446 4CDF 00E0 movem.l D5,D6,D7, [A7]+
0000044A 4E5E unlink A6
0000044C 4E75 rts
0000044E 9250 sub.w D1, [A0]
00000450 6963 bvs +0x65 /* 000004B5 */
00000452 6B50 bmi +0x52 /* 000004A4 */
label00000454:
00000454 6C61 bge +0x63 /* 000004B7 */
00000456 7961 moveq.l D4, 0x61
00000458 626C bhi +0x6E /* 000004C6 */
0000045A 6542 bcs +0x44 /* 0000049E */
0000045C 7566 moveq.l D2, 0x66
0000045E 6665 bne +0x67 /* 000004C5 */
00000460 7200 moveq.l D1, 0x00
00000462 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000464-00000468
fn00000464:
00000464 4E56 FFFE link A6, -0x0002
// end alternate branch 00000464-00000468
fn00000464: // (misaligned)
00000466 FFFE .extension 0xFFE // unimplemented
00000468 2F07 move.l -[A7], D7
0000046A 7E00 moveq.l D7, 0x00
0000046C 6014 bra +0x16 /* 00000482 */
label0000046E:
0000046E 700C moveq.l D0, 0x0C
00000470 C1C7 muls.w D0, D7
00000472 206E 0008 movea.l A0, [A6 + 0x8]
00000476 4A30 080A tst.b [A0 + D0 + 0xA]
0000047A 6604 bne +0x6 /* 00000480 */
0000047C 3007 move.w D0, D7
0000047E 6016 bra +0x18 /* 00000496 */
label00000480:
00000480 5247 addq.w D7, 1
label00000482:
00000482 BE6E 000C cmp.w D7, [A6 + 0xC]
00000486 6DE6 blt -0x18 /* 0000046E */
00000488 70FF moveq.l D0, 0xFFFFFFFF
0000048A D06E 000C add.w D0, [A6 + 0xC]
0000048E 3F00 move.w -[A7], D0
00000490 4267 clr.w -[A7]
00000492 4EBA FF1A jsr [PC - 0xE6 /* 000003AE */]
label00000496:
00000496 2E2E FFFA move.l D7, [A6 - 0x6]
0000049A 4E5E unlink A6
0000049C 4E75 rts
label0000049E:
0000049E 9250 sub.w D1, [A0]
000004A0 6963 bvs +0x65 /* 00000505 */
000004A2 6B52 bmi +0x54 /* 000004F6 */
label000004A4:
000004A4 6561 bcs +0x63 /* 00000507 */
000004A6 6461 bcc +0x63 /* 00000509 */
000004A8 626C bhi +0x6E /* 00000516 */
000004AA 6542 bcs +0x44 /* 000004EE */
000004AC 7566 moveq.l D2, 0x66
000004AE 6665 bne +0x67 /* 00000515 */
000004B0 7200 moveq.l D1, 0x00
000004B2 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000004B4-000004B8
fn000004B4:
000004B4 4E56 FFF2 link A6, -0x000E
// end alternate branch 000004B4-000004B8
fn000004B4: // (misaligned)
000004B6 FFF2 .extension 0xFF2 // unimplemented
000004B8 48E7 1F18 movem.l -[A7], D3,D4,D5,D6,D7,A3,A4
000004BC 2E2E 000C move.l D7, [A6 + 0xC]
000004C0 286E 0008 movea.l A4, [A6 + 0x8]
000004C4 422E FFFD clr.b [A6 - 0x3]
// begin alternate branch 000004C6-000004C8
label000004C6:
000004C6 FFFD .extension 0xFFD // unimplemented
// end alternate branch 000004C6-000004C8
label000004C6: // (misaligned)
000004C8 42A7 clr.l -[A7]
000004CA 2F0C move.l -[A7], A4
000004CC 4EBA FD40 jsr [PC - 0x2C0 /* 0000020E */]
000004D0 2D5F FFF8 move.l [A6 - 0x8], [A7]+
000004D4 7800 moveq.l D4, 0x00
000004D6 2A07 move.l D5, D7
000004D8 42AE FFF4 clr.l [A6 - 0xC]
000004DC 7C00 moveq.l D6, 0x00
000004DE 7600 moveq.l D3, 0x00
000004E0 1D7C 0001 FFF3 move.b [A6 - 0xD], 0x1
000004E6 266D FF98 movea.l A3, [A5 - 0x68]
000004EA 2007 move.l D0, D7
000004EC 2253 movea.l A1, [A3]
label000004EE:
000004EE 2054 movea.l A0, [A4]
000004F0 A02E syscall BlockMove/BlockMoveData
000004F2 7600 moveq.l D3, 0x00
000004F4 6000 00DA bra +0xDC /* 000005D0 */
// begin alternate branch 000004F6-000004F8
label000004F6:
000004F6 00DA ori.? [A2]+, 0xFFFFFFFFFFFFFFFF
// end alternate branch 000004F6-000004F8
label000004F6: // (misaligned)
label000004F8:
000004F8 2007 move.l D0, D7
000004FA D083 add.l D0, D3
000004FC D094 add.l D0, [A4]
000004FE 2040 movea.l A0, D0
00000500 7000 moveq.l D0, 0x00
00000502 1010 move.b D0, [A0]
00000504 323C 0080 move.w D1, 0x80
00000508 9240 sub.w D1, D0
0000050A 3D41 FFFE move.w [A6 - 0x2], D1
0000050E 4A41 tst.w D1
00000510 6C08 bge +0xA /* 0000051A */
00000512 302E FFFE move.w D0, [A6 - 0x2]
label00000516:
00000516 4440 neg.w D0
00000518 6004 bra +0x6 /* 0000051E */
label0000051A:
0000051A 302E FFFE move.w D0, [A6 - 0x2]
label0000051E:
0000051E D040 add.w D0, D0
00000520 B06D FF8E cmp.w D0, [A5 - 0x72]
00000524 6F00 00A8 ble +0xAA /* 000005CE */
00000528 4A2E FFF3 tst.b [A6 - 0xD]
0000052C 6752 beq +0x54 /* 00000580 */
0000052E 0C83 0000 1000 cmpi.l D3, 0x1000
00000534 6F0A ble +0xC /* 00000540 */
00000536 2043 movea.l A0, D3
00000538 41E8 F000 lea.l A0, [A0 - 0x1000]
0000053C 2A08 move.l D5, A0
0000053E 6002 bra +0x4 /* 00000542 */
label00000540:
00000540 7A00 moveq.l D5, 0x00
label00000542:
00000542 2043 movea.l A0, D3
00000544 41E8 1000 lea.l A0, [A0 + 0x1000]
00000548 2808 move.l D4, A0
0000054A 2007 move.l D0, D7
0000054C D084 add.l D0, D4
0000054E B0AE FFF8 cmp.l D0, [A6 - 0x8]
00000552 6F06 ble +0x8 /* 0000055A */
00000554 282E FFF8 move.l D4, [A6 - 0x8]
00000558 9887 sub.l D4, D7
label0000055A:
0000055A 2C04 move.l D6, D4
0000055C 9C85 sub.l D6, D5
0000055E 2007 move.l D0, D7
00000560 D085 add.l D0, D5
00000562 D094 add.l D0, [A4]
00000564 2040 movea.l A0, D0
00000566 2007 move.l D0, D7
00000568 D0AE FFF4 add.l D0, [A6 - 0xC]
0000056C D093 add.l D0, [A3]
0000056E 2240 movea.l A1, D0
00000570 2006 move.l D0, D6
00000572 A02E syscall BlockMove/BlockMoveData
00000574 DDAE FFF4 add.l [A6 - 0xC], D6
00000578 2604 move.l D3, D4
0000057A 422E FFF3 clr.b [A6 - 0xD]
0000057E 6048 bra +0x4A /* 000005C8 */
label00000580:
00000580 2043 movea.l A0, D3
00000582 41E8 F000 lea.l A0, [A0 - 0x1000]
00000586 2A08 move.l D5, A0
00000588 B885 cmp.l D4, D5
0000058A 6F04 ble +0x6 /* 00000590 */
0000058C 2A04 move.l D5, D4
0000058E 5285 addq.l D5, 1
label00000590:
00000590 2043 movea.l A0, D3
00000592 41E8 1000 lea.l A0, [A0 + 0x1000]
00000596 2808 move.l D4, A0
00000598 2007 move.l D0, D7
0000059A D084 add.l D0, D4
0000059C B0AE FFF8 cmp.l D0, [A6 - 0x8]
000005A0 6F06 ble +0x8 /* 000005A8 */
000005A2 282E FFF8 move.l D4, [A6 - 0x8]
000005A6 9887 sub.l D4, D7
label000005A8:
000005A8 2C04 move.l D6, D4
000005AA 9C85 sub.l D6, D5
000005AC 2007 move.l D0, D7
000005AE D085 add.l D0, D5
000005B0 D094 add.l D0, [A4]
000005B2 2040 movea.l A0, D0
000005B4 2007 move.l D0, D7
000005B6 D0AE FFF4 add.l D0, [A6 - 0xC]
000005BA D093 add.l D0, [A3]
000005BC 2240 movea.l A1, D0
000005BE 2006 move.l D0, D6
000005C0 A02E syscall BlockMove/BlockMoveData
000005C2 DDAE FFF4 add.l [A6 - 0xC], D6
000005C6 2604 move.l D3, D4
label000005C8:
000005C8 1D7C 0001 FFFD move.b [A6 - 0x3], 0x1
label000005CE:
000005CE 5283 addq.l D3, 1
label000005D0:
000005D0 202E FFF8 move.l D0, [A6 - 0x8]
000005D4 9087 sub.l D0, D7
000005D6 B083 cmp.l D0, D3
000005D8 6E00 FF1E bgt -0xE0 /* 000004F8 */
000005DC 4A2E FFFD tst.b [A6 - 0x3]
000005E0 6712 beq +0x14 /* 000005F4 */
000005E2 2007 move.l D0, D7
000005E4 D0AE FFF4 add.l D0, [A6 - 0xC]
000005E8 2254 movea.l A1, [A4]
000005EA 2053 movea.l A0, [A3]
000005EC A02E syscall BlockMove/BlockMoveData
000005EE 202E FFF4 move.l D0, [A6 - 0xC]
000005F2 6002 bra +0x4 /* 000005F6 */
label000005F4:
000005F4 7000 moveq.l D0, 0x00
label000005F6:
000005F6 4CDF 18F8 movem.l D3,D4,D5,D6,D7,A3,A4, [A7]+
000005FA 4E5E unlink A6
000005FC 4E75 rts
000005FE 8A54 or.w D5, [A4]
00000600 7269 moveq.l D1, 0x69
00000602 6D42 blt +0x44 /* 00000646 */
00000604 7566 moveq.l D2, 0x66
00000606 6665 bne +0x67 /* 0000066D */
00000608 7200 moveq.l D1, 0x00
0000060A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000060C-00000610
fn0000060C:
0000060C 4E56 FEEC link A6, -0x0114
// end alternate branch 0000060C-00000610
fn0000060C: // (misaligned)
0000060E FEEC .extension 0xEEC // unimplemented
00000610 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00000614 99CC sub.l A4, A4
00000616 97CB sub.l A3, A3
00000618 4267 clr.w -[A7]
0000061A 2F3C 736E 6420 move.l -[A7], 0x736E6420 /* 'snd ' */
00000620 486E FFF2 pea.l [A6 - 0xE]
00000624 4EBA F9DA jsr [PC - 0x626 /* 00000000 */]
00000628 3E1F move.w D7, [A7]+
0000062A 4A47 tst.w D7
0000062C 6668 bne +0x6A /* 00000696 */
0000062E 202E FFF2 move.l D0, [A6 - 0xE]
00000632 EA80 asr D0, 5
00000634 0240 0001 andi.w D0, 0x1
00000638 660E bne +0x10 /* 00000648 */
0000063A 4878 0005 push.l 0x5
0000063E 4EBA 0CB4 jsr [PC + 0xCB4 /* 000012F4 */]
00000642 A9F4 syscall ExitToShell
00000644 588F addq.l A7, 4
label00000646:
00000646 605C bra +0x5E /* 000006A4 */
label00000648:
00000648 202E FFF2 move.l D0, [A6 - 0xE]
0000064C 0200 0001 andi.b D0, 0x1
00000650 1B40 FF8C move.b [A5 - 0x74], D0
00000654 4267 clr.w -[A7]
00000656 2F3C 7379 7376 move.l -[A7], 0x73797376 /* 'sysv' */
0000065C 486E FFFC pea.l [A6 - 0x4]
00000660 4EBA F99E jsr [PC - 0x662 /* 00000000 */]
00000664 3E1F move.w D7, [A7]+
00000666 4A47 tst.w D7
00000668 670E beq +0x10 /* 00000678 */
0000066A 3F3C 0006 move.w -[A7], 0x6
0000066E 3F07 move.w -[A7], D7
00000670 4EBA 0C82 jsr [PC + 0xC82 /* 000012F4 */]
00000674 A9F4 syscall ExitToShell
00000676 588F addq.l A7, 4
label00000678:
00000678 4A2D FF8C tst.b [A5 - 0x74]
0000067C 6610 bne +0x12 /* 0000068E */
0000067E 202E FFF2 move.l D0, [A6 - 0xE]
00000682 EC80 asr D0, 6
00000684 0240 0001 andi.w D0, 0x1
00000688 6604 bne +0x6 /* 0000068E */
0000068A 7000 moveq.l D0, 0x00
0000068C 6002 bra +0x4 /* 00000690 */
label0000068E:
0000068E 7001 moveq.l D0, 0x01
label00000690:
00000690 1B40 FFA4 move.b [A5 - 0x5C], D0
00000694 600E bra +0x10 /* 000006A4 */
label00000696:
00000696 3F3C 0006 move.w -[A7], 0x6
0000069A 3F07 move.w -[A7], D7
0000069C 4EBA 0C56 jsr [PC + 0xC56 /* 000012F4 */]
000006A0 A9F4 syscall ExitToShell
000006A2 588F addq.l A7, 4
label000006A4:
000006A4 486E FEF0 pea.l [A6 - 0x110]
000006A8 2F3C 0001 0081 move.l -[A7], 0x10081
000006AE 4EBA FB92 jsr [PC - 0x46E /* 00000242 */]
000006B2 486E FEF0 pea.l [A6 - 0x110]
000006B6 486E FEEC pea.l [A6 - 0x114]
000006BA 4EBA FB60 jsr [PC - 0x4A0 /* 0000021C */]
000006BE 3B6E FEEE FF8E move.w [A5 - 0x72], [A6 - 0x112]
000006C4 486E FEF0 pea.l [A6 - 0x110]
000006C8 2F3C 0002 0081 move.l -[A7], 0x20081
000006CE 4EBA FB72 jsr [PC - 0x48E /* 00000242 */]
000006D2 486E FEF0 pea.l [A6 - 0x110]
000006D6 486E FEEC pea.l [A6 - 0x114]
000006DA 4EBA FB40 jsr [PC - 0x4C0 /* 0000021C */]
000006DE 2B6E FEEC FF90 move.l [A5 - 0x70], [A6 - 0x114]
000006E4 7020 moveq.l D0, 0x20
000006E6 A11E syscall NewPtr, flags=1
000006E8 2B48 FF94 move.l [A5 - 0x6C], A0
000006EC 3E38 0220 move.w D7, [0x00000220 /* MemErr */]
000006F0 6606 bne +0x8 /* 000006F8 */
000006F2 4AAD FF94 tst.l [A5 - 0x6C]
000006F6 660E bne +0x10 /* 00000706 */
label000006F8:
000006F8 3F3C 000C move.w -[A7], 0xC
000006FC 3F07 move.w -[A7], D7
000006FE 4EBA 0BF4 jsr [PC + 0xBF4 /* 000012F4 */]
00000702 6000 01E2 bra +0x1E4 /* 000008E6 */
label00000706:
00000706 206D FF94 movea.l A0, [A5 - 0x6C]
0000070A 10BC 0001 move.b [A0], 0x1
0000070E 206D FF94 movea.l A0, [A5 - 0x6C]
00000712 4228 0001 clr.b [A0 + 0x1]
00000716 206D FF94 movea.l A0, [A5 - 0x6C]
0000071A 4268 0002 clr.w [A0 + 0x2]
0000071E 206D FF94 movea.l A0, [A5 - 0x6C]
00000722 42A8 0016 clr.l [A0 + 0x16]
00000726 206D FF94 movea.l A0, [A5 - 0x6C]
0000072A 42A8 0012 clr.l [A0 + 0x12]
0000072E 206D FF94 movea.l A0, [A5 - 0x6C]
00000732 42A8 0006 clr.l [A0 + 0x6]
00000736 206D FF94 movea.l A0, [A5 - 0x6C]
0000073A 4268 0004 clr.w [A0 + 0x4]
0000073E 206D FF94 movea.l A0, [A5 - 0x6C]
00000742 42A8 000A clr.l [A0 + 0xA]
00000746 206D FF94 movea.l A0, [A5 - 0x6C]
0000074A 4228 001F clr.b [A0 + 0x1F]
0000074E 4267 clr.w -[A7]
00000750 42A7 clr.l -[A7]
00000752 3F3C 0001 move.w -[A7], 0x1
00000756 206D FF94 movea.l A0, [A5 - 0x6C]
0000075A 4868 000E pea.l [A0 + 0xE]
0000075E 203C 0518 0014 move.l D0, 0x5180014
00000764 A800 syscall SoundDispatch
00000766 3E1F move.w D7, [A7]+
00000768 4A47 tst.w D7
0000076A 670E beq +0x10 /* 0000077A */
0000076C 3F3C 000D move.w -[A7], 0xD /* '\r' */
00000770 3F07 move.w -[A7], D7
00000772 4EBA 0B80 jsr [PC + 0xB80 /* 000012F4 */]
00000776 6000 016E bra +0x170 /* 000008E6 */
label0000077A:
0000077A 4267 clr.w -[A7]
0000077C 206D FF94 movea.l A0, [A5 - 0x6C]
00000780 2F28 000E move.l -[A7], [A0 + 0xE]
00000784 2F3C 7372 6174 move.l -[A7], 0x73726174 /* 'srat' */
0000078A 4868 001A pea.l [A0 + 0x1A]
0000078E 203C 0638 0014 move.l D0, 0x6380014
00000794 A800 syscall SoundDispatch
00000796 3E1F move.w D7, [A7]+
00000798 4A47 tst.w D7
0000079A 670E beq +0x10 /* 000007AA */
0000079C 3F3C 000E move.w -[A7], 0xE
000007A0 3F07 move.w -[A7], D7
000007A2 4EBA 0B50 jsr [PC + 0xB50 /* 000012F4 */]
000007A6 6000 013E bra +0x140 /* 000008E6 */
label000007AA:
000007AA 7026 moveq.l D0, 0x26
000007AC A11E syscall NewPtr, flags=1
000007AE 2648 movea.l A3, A0
000007B0 3E38 0220 move.w D7, [0x00000220 /* MemErr */]
000007B4 6604 bne +0x6 /* 000007BA */
000007B6 200B move.l D0, A3
000007B8 660E bne +0x10 /* 000007C8 */
label000007BA:
000007BA 3F3C 000F move.w -[A7], 0xF
000007BE 3F07 move.w -[A7], D7
000007C0 4EBA 0B32 jsr [PC + 0xB32 /* 000012F4 */]
000007C4 6000 0120 bra +0x122 /* 000008E6 */
label000007C8:
000007C8 206D FF94 movea.l A0, [A5 - 0x6C]
000007CC 214B 000A move.l [A0 + 0xA], A3
000007D0 A01C syscall FreeMem
000007D2 2F2D FF90 move.l -[A7], [A5 - 0x70]
000007D6 2040 movea.l A0, D0
000007D8 4868 B000 pea.l [A0 - 0x5000]
000007DC 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
000007E0 5340 subq.w D0, 1
000007E2 3A00 move.w D5, D0
000007E4 0C45 0001 cmpi.w D5, 0x1
000007E8 6C0C bge +0xE /* 000007F6 */
000007EA 4878 0008 push.l 0x8
000007EE 4EBA 0B04 jsr [PC + 0xB04 /* 000012F4 */]
000007F2 6000 00F2 bra +0xF4 /* 000008E6 */
label000007F6:
000007F6 700C moveq.l D0, 0x0C
000007F8 C1C5 muls.w D0, D5
000007FA A11E syscall NewPtr, flags=1
000007FC 2848 movea.l A4, A0
000007FE 3E38 0220 move.w D7, [0x00000220 /* MemErr */]
00000802 6604 bne +0x6 /* 00000808 */
00000804 200C move.l D0, A4
00000806 660E bne +0x10 /* 00000816 */
label00000808:
00000808 3F3C 0010 move.w -[A7], 0x10
0000080C 3F07 move.w -[A7], D7
0000080E 4EBA 0AE4 jsr [PC + 0xAE4 /* 000012F4 */]
00000812 6000 00D2 bra +0xD4 /* 000008E6 */
label00000816:
00000816 206D FF94 movea.l A0, [A5 - 0x6C]
0000081A 214C 0006 move.l [A0 + 0x6], A4
0000081E 206D FF94 movea.l A0, [A5 - 0x6C]
00000822 3145 0004 move.w [A0 + 0x4], D5
00000826 7C00 moveq.l D6, 0x00
00000828 6048 bra +0x4A /* 00000872 */
label0000082A:
0000082A 206D FF94 movea.l A0, [A5 - 0x6C]
0000082E 2F28 001A move.l -[A7], [A0 + 0x1A]
00000832 700C moveq.l D0, 0x0C
00000834 C1C6 muls.w D0, D6
00000836 4874 0804 pea.l [A4 + D0 + 0x4]
0000083A 700C moveq.l D0, 0x0C
0000083C C1C6 muls.w D0, D6
0000083E 2F34 0800 move.l -[A7], [A4 + D0]
00000842 4EBA FA90 jsr [PC - 0x570 /* 000002D4 */]
00000846 720C moveq.l D1, 0x0C
00000848 C3C6 muls.w D1, D6
0000084A 2980 1800 move.l [A4 + D1], D0
0000084E 700C moveq.l D0, 0x0C
00000850 C1C6 muls.w D0, D6
00000852 3074 0804 movea.w A0, [A4 + D0 + 0x4]
00000856 202D FF90 move.l D0, [A5 - 0x70]
0000085A 9088 sub.l D0, A0
0000085C 720C moveq.l D1, 0x0C
0000085E C3C6 muls.w D1, D6
00000860 2980 1806 move.l [A4 + D1 + 0x6], D0
00000864 700C moveq.l D0, 0x0C
00000866 C1C6 muls.w D0, D6
00000868 4234 080A clr.b [A4 + D0 + 0xA]
0000086C 4FEF 000C lea.l A7, [A7 + 0xC]
00000870 5246 addq.w D6, 1
label00000872:
00000872 BA46 cmp.w D5, D6
00000874 6EB4 bgt -0x4A /* 0000082A */
00000876 206D FF94 movea.l A0, [A5 - 0x6C]
0000087A 2F28 001A move.l -[A7], [A0 + 0x1A]
0000087E 486D FF9C pea.l [A5 - 0x64]
00000882 2F2D FF98 move.l -[A7], [A5 - 0x68]
00000886 4EBA FA4C jsr [PC - 0x5B4 /* 000002D4 */]
0000088A 2B40 FF98 move.l [A5 - 0x68], D0
0000088E 206D FF94 movea.l A0, [A5 - 0x6C]
00000892 26A8 000E move.l [A3], [A0 + 0xE]
00000896 306C 0004 movea.w A0, [A4 + 0x4]
0000089A 202D FF90 move.l D0, [A5 - 0x70]
0000089E 9088 sub.l D0, A0
000008A0 2740 0004 move.l [A3 + 0x4], D0
000008A4 42AB 0008 clr.l [A3 + 0x8]
000008A8 306C 0004 movea.w A0, [A4 + 0x4]
000008AC 202D FF90 move.l D0, [A5 - 0x70]
000008B0 9088 sub.l D0, A0
000008B2 2740 000C move.l [A3 + 0xC], D0
000008B6 2054 movea.l A0, [A4]
000008B8 326C 0004 movea.w A1, [A4 + 0x4]
000008BC D3D0 add.l A1, [A0]
000008BE 2749 0010 move.l [A3 + 0x10], A1
000008C2 41ED 0072 lea.l A0, [A5 + 0x72 /* export_10 */]
000008C6 2748 0014 move.l [A3 + 0x14], A0
000008CA 42AB 0018 clr.l [A3 + 0x18]
000008CE 276D FF94 001C move.l [A3 + 0x1C], [A5 - 0x6C]
000008D4 426B 0020 clr.w [A3 + 0x20]
000008D8 42AB 0022 clr.l [A3 + 0x22]
000008DC 206D FF94 movea.l A0, [A5 - 0x6C]
000008E0 117C 0001 001E move.b [A0 + 0x1E], 0x1
label000008E6:
000008E6 4CEE 18E0 FED8 movem.l D5,D6,D7,A3,A4, [A6 - 0x128]
000008EC 4E5E unlink A6
000008EE 4E75 rts
000008F0 9249 sub.w D1, A1
000008F2 6E69 bgt +0x6B /* 0000095D */
000008F4 7453 moveq.l D2, 0x53
000008F6 6F75 ble +0x77 /* 0000096D */
000008F8 6E64 bgt +0x66 /* 0000095E */
000008FA 436F 6E66 chk.w D1, [A7 + 0x6E66]
000008FE 7573 moveq.l D2, 0x73
00000900 696F bvs +0x71 /* 00000971 */
00000902 6E00 0000 bgt +0x2 /* 00000904 */
// begin alternate branch 00000904-0000090A
label00000904:
00000904 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn00000906: // (misaligned)
00000908 FFF8 .extension 0xFF8 // unimplemented
// end alternate branch 00000904-0000090A
label00000904: // (misaligned)
fn00000906:
00000906 4E56 FFF8 link A6, -0x0008
0000090A 2F07 move.l -[A7], D7
0000090C 4A2D FF8A tst.b [A5 - 0x76]
00000910 6762 beq +0x64 /* 00000974 */
00000912 206D FF94 movea.l A0, [A5 - 0x6C]
00000916 4AA8 0016 tst.l [A0 + 0x16]
0000091A 6724 beq +0x26 /* 00000940 */
0000091C 4267 clr.w -[A7]
0000091E 206D FF94 movea.l A0, [A5 - 0x6C]
00000922 2F28 0016 move.l -[A7], [A0 + 0x16]
00000926 1F3C 0001 move.b -[A7], 0x1
0000092A A801 syscall SndDisposeChannel
0000092C 3E1F move.w D7, [A7]+
0000092E 4A47 tst.w D7
00000930 670E beq +0x10 /* 00000940 */
00000932 3F3C 000B move.w -[A7], 0xB
00000936 3F07 move.w -[A7], D7
00000938 4EBA 09BA jsr [PC + 0x9BA /* 000012F4 */]
0000093C 6000 00D2 bra +0xD4 /* 00000A10 */
label00000940:
00000940 4A2D FF8C tst.b [A5 - 0x74]
00000944 672E beq +0x30 /* 00000974 */
00000946 206D FF94 movea.l A0, [A5 - 0x6C]
0000094A 4AA8 0012 tst.l [A0 + 0x12]
0000094E 6724 beq +0x26 /* 00000974 */
00000950 4267 clr.w -[A7]
00000952 206D FF94 movea.l A0, [A5 - 0x6C]
00000956 2F28 0012 move.l -[A7], [A0 + 0x12]
0000095A 1F3C 0001 move.b -[A7], 0x1
label0000095E:
0000095E A801 syscall SndDisposeChannel
00000960 3E1F move.w D7, [A7]+
00000962 4A47 tst.w D7
00000964 670E beq +0x10 /* 00000974 */
00000966 3F3C 000B move.w -[A7], 0xB
0000096A 3F07 move.w -[A7], D7
0000096C 4EBA 0986 jsr [PC + 0x986 /* 000012F4 */]
00000970 6000 009E bra +0xA0 /* 00000A10 */
label00000974:
00000974 4A2D FF8C tst.b [A5 - 0x74]
00000978 6760 beq +0x62 /* 000009DA */
0000097A 206D FF94 movea.l A0, [A5 - 0x6C]
0000097E 42A8 0016 clr.l [A0 + 0x16]
00000982 4267 clr.w -[A7]
00000984 206D FF94 movea.l A0, [A5 - 0x6C]
00000988 4868 0016 pea.l [A0 + 0x16]
0000098C 3F3C 0005 move.w -[A7], 0x5
00000990 4878 0002 push.l 0x2
00000994 42A7 clr.l -[A7]
00000996 A807 syscall SndNewChannel
00000998 3E1F move.w D7, [A7]+
0000099A 4A47 tst.w D7
0000099C 670C beq +0xE /* 000009AA */
0000099E 3F3C 0011 move.w -[A7], 0x11
000009A2 3F07 move.w -[A7], D7
000009A4 4EBA 094E jsr [PC + 0x94E /* 000012F4 */]
000009A8 6066 bra +0x68 /* 00000A10 */
label000009AA:
000009AA 206D FF94 movea.l A0, [A5 - 0x6C]
000009AE 42A8 0012 clr.l [A0 + 0x12]
000009B2 4267 clr.w -[A7]
000009B4 206D FF94 movea.l A0, [A5 - 0x6C]
000009B8 4868 0012 pea.l [A0 + 0x12]
000009BC 3F3C 0005 move.w -[A7], 0x5
000009C0 4878 0003 push.l 0x3
000009C4 42A7 clr.l -[A7]
000009C6 A807 syscall SndNewChannel
000009C8 3E1F move.w D7, [A7]+
000009CA 4A47 tst.w D7
000009CC 673C beq +0x3E /* 00000A0A */
000009CE 3F3C 0012 move.w -[A7], 0x12
000009D2 3F07 move.w -[A7], D7
000009D4 4EBA 091E jsr [PC + 0x91E /* 000012F4 */]
000009D8 6036 bra +0x38 /* 00000A10 */
label000009DA:
000009DA 206D FF94 movea.l A0, [A5 - 0x6C]
000009DE 42A8 0016 clr.l [A0 + 0x16]
000009E2 4267 clr.w -[A7]
000009E4 206D FF94 movea.l A0, [A5 - 0x6C]
000009E8 4868 0016 pea.l [A0 + 0x16]
000009EC 3F3C 0005 move.w -[A7], 0x5
000009F0 4878 0080 push.l 0x80
000009F4 42A7 clr.l -[A7]
000009F6 A807 syscall SndNewChannel
000009F8 3E1F move.w D7, [A7]+
000009FA 4A47 tst.w D7
000009FC 670C beq +0xE /* 00000A0A */
000009FE 3F3C 0013 move.w -[A7], 0x13
00000A02 3F07 move.w -[A7], D7
00000A04 4EBA 08EE jsr [PC + 0x8EE /* 000012F4 */]
00000A08 6006 bra +0x8 /* 00000A10 */
label00000A0A:
00000A0A 1B7C 0001 FF8A move.b [A5 - 0x76], 0x1
label00000A10:
00000A10 2E2E FFF4 move.l D7, [A6 - 0xC]
00000A14 4E5E unlink A6
00000A16 4E75 rts
00000A18 8D52 or.w [A2], D6
00000A1A 6573 bcs +0x75 /* 00000A8F */
00000A1C 6574 bcs +0x76 /* 00000A92 */
00000A1E 4368 616E chk.w D1, [A0 + 0x616E]
00000A22 6E65 bgt +0x67 /* 00000A89 */
00000A24 6C73 bge +0x75 /* 00000A99 */
00000A26 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000A28-00000A2C
fn00000A28:
00000A28 4E56 FFB8 link A6, -0x0048
// end alternate branch 00000A28-00000A2C
fn00000A28: // (misaligned)
00000A2A FFB8 .extension 0xFB8 // unimplemented
00000A2C 48E7 1F28 movem.l -[A7], D3,D4,D5,D6,D7,A2,A4
00000A30 422E FFE9 clr.b [A6 - 0x17]
00000A34 7600 moveq.l D3, 0x00
00000A36 7800 moveq.l D4, 0x00
00000A38 4A2D FF8B tst.b [A5 - 0x75]
00000A3C 6710 beq +0x12 /* 00000A4E */
00000A3E 4EBA FEC6 jsr [PC - 0x13A /* 00000906 */]
00000A42 422D FF8B clr.b [A5 - 0x75]
00000A46 4A2D FFA8 tst.b [A5 - 0x58]
00000A4A 6600 03D0 bne +0x3D2 /* 00000E1C */
label00000A4E:
00000A4E 206D FF94 movea.l A0, [A5 - 0x6C]
00000A52 2868 0006 movea.l A4, [A0 + 0x6]
00000A56 4A28 001E tst.b [A0 + 0x1E]
00000A5A 6708 beq +0xA /* 00000A64 */
00000A5C 7600 moveq.l D3, 0x00
00000A5E 7800 moveq.l D4, 0x00
00000A60 6000 009C bra +0x9E /* 00000AFE */
label00000A64:
00000A64 206D FF94 movea.l A0, [A5 - 0x6C]
00000A68 4A28 001F tst.b [A0 + 0x1F]
00000A6C 6706 beq +0x8 /* 00000A74 */
00000A6E 4A2D FFA4 tst.b [A5 - 0x5C]
00000A72 676E beq +0x70 /* 00000AE2 */
label00000A74:
00000A74 4267 clr.w -[A7]
00000A76 206D FF94 movea.l A0, [A5 - 0x6C]
00000A7A 2F28 0016 move.l -[A7], [A0 + 0x16]
00000A7E 3F3C 0018 move.w -[A7], 0x18
00000A82 486E FFD0 pea.l [A6 - 0x30]
00000A86 203C 0010 0008 move.l D0, 0x100008
00000A8C A800 syscall SoundDispatch
00000A8E 3E1F move.w D7, [A7]+
00000A90 4A47 tst.w D7
label00000A92:
00000A92 670E beq +0x10 /* 00000AA2 */
00000A94 3F3C 0003 move.w -[A7], 0x3
00000A98 3F07 move.w -[A7], D7
00000A9A 4EBA 0858 jsr [PC + 0x858 /* 000012F4 */]
00000A9E 6000 037C bra +0x37E /* 00000E1C */
label00000AA2:
00000AA2 162E FFDC move.b D3, [A6 - 0x24]
00000AA6 4A2D FF8C tst.b [A5 - 0x74]
00000AAA 6736 beq +0x38 /* 00000AE2 */
00000AAC 4A03 tst.b D3
00000AAE 6632 bne +0x34 /* 00000AE2 */
00000AB0 4267 clr.w -[A7]
00000AB2 206D FF94 movea.l A0, [A5 - 0x6C]
00000AB6 2F28 0012 move.l -[A7], [A0 + 0x12]
00000ABA 3F3C 0018 move.w -[A7], 0x18
00000ABE 486E FFB8 pea.l [A6 - 0x48]
00000AC2 203C 0010 0008 move.l D0, 0x100008
00000AC8 A800 syscall SoundDispatch
00000ACA 3E1F move.w D7, [A7]+
00000ACC 4A47 tst.w D7
00000ACE 670E beq +0x10 /* 00000ADE */
00000AD0 3F3C 0003 move.w -[A7], 0x3
00000AD4 3F07 move.w -[A7], D7
00000AD6 4EBA 081C jsr [PC + 0x81C /* 000012F4 */]
00000ADA 6000 0340 bra +0x342 /* 00000E1C */
label00000ADE:
00000ADE 162E FFC4 move.b D3, [A6 - 0x3C]
label00000AE2:
00000AE2 206D FF94 movea.l A0, [A5 - 0x6C]
00000AE6 0C28 0001 001F cmpi.b [A0 + 0x1F], 0x1
00000AEC 6706 beq +0x8 /* 00000AF4 */
00000AEE 4A2D FFA4 tst.b [A5 - 0x5C]
00000AF2 670A beq +0xC /* 00000AFE */
label00000AF4:
00000AF4 206D FF94 movea.l A0, [A5 - 0x6C]
00000AF8 4A10 tst.b [A0]
00000AFA 57C4 seq D4
00000AFC 4404 neg.b D4
label00000AFE:
00000AFE 4A03 tst.b D3
00000B00 6608 bne +0xA /* 00000B0A */
00000B02 4A04 tst.b D4
00000B04 6604 bne +0x6 /* 00000B0A */
00000B06 7000 moveq.l D0, 0x00
00000B08 6002 bra +0x4 /* 00000B0C */
label00000B0A:
00000B0A 7001 moveq.l D0, 0x01
label00000B0C:
00000B0C 1D40 FFE9 move.b [A6 - 0x17], D0
00000B10 4A2D FFA4 tst.b [A5 - 0x5C]
00000B14 6608 bne +0xA /* 00000B1E */
00000B16 4A2E FFE9 tst.b [A6 - 0x17]
00000B1A 6600 0300 bne +0x302 /* 00000E1C */
label00000B1E:
00000B1E 4A03 tst.b D3
00000B20 6706 beq +0x8 /* 00000B28 */
00000B22 4A04 tst.b D4
00000B24 6600 02F6 bne +0x2F8 /* 00000E1C */
label00000B28:
00000B28 4A04 tst.b D4
00000B2A 6600 0124 bne +0x126 /* 00000C50 */
00000B2E 206D FF94 movea.l A0, [A5 - 0x6C]
00000B32 4210 clr.b [A0]
00000B34 206D FF94 movea.l A0, [A5 - 0x6C]
00000B38 4A28 001E tst.b [A0 + 0x1E]
00000B3C 6600 00DA bne +0xDC /* 00000C18 */
00000B40 4A2D FFA4 tst.b [A5 - 0x5C]
00000B44 660E bne +0x10 /* 00000B54 */
00000B46 206D FF94 movea.l A0, [A5 - 0x6C]
00000B4A 0C28 0001 001F cmpi.b [A0 + 0x1F], 0x1
00000B50 6600 00C6 bne +0xC8 /* 00000C18 */
label00000B54:
00000B54 206D FF94 movea.l A0, [A5 - 0x6C]
00000B58 3A28 0002 move.w D5, [A0 + 0x2]
00000B5C 700C moveq.l D0, 0x0C
00000B5E C1C5 muls.w D0, D5
00000B60 3274 0804 movea.w A1, [A4 + D0 + 0x4]
00000B64 2F09 move.l -[A7], A1
00000B66 700C moveq.l D0, 0x0C
00000B68 C1C5 muls.w D0, D5
00000B6A 2F34 0800 move.l -[A7], [A4 + D0]
00000B6E 4EBA F944 jsr [PC - 0x6BC /* 000004B4 */]
00000B72 2D40 FFFC move.l [A6 - 0x4], D0
00000B76 4A80 tst.l D0
00000B78 5EC1 sgt D1
00000B7A 4401 neg.b D1
00000B7C 206D FF94 movea.l A0, [A5 - 0x6C]
00000B80 1141 0001 move.b [A0 + 0x1], D1
00000B84 740C moveq.l D2, 0x0C
00000B86 C5C5 muls.w D2, D5
00000B88 1981 280A move.b [A4 + D2 + 0xA], D1
00000B8C 720C moveq.l D1, 0x0C
00000B8E C3C5 muls.w D1, D5
00000B90 2980 1806 move.l [A4 + D1 + 0x6], D0
00000B94 206D FF94 movea.l A0, [A5 - 0x6C]
00000B98 4A28 0001 tst.b [A0 + 0x1]
00000B9C 508F addq.l A7, 8
00000B9E 6778 beq +0x7A /* 00000C18 */
00000BA0 206D FF94 movea.l A0, [A5 - 0x6C]
00000BA4 3F28 0004 move.w -[A7], [A0 + 0x4]
00000BA8 2F0C move.l -[A7], A4
00000BAA 4EBA F8B8 jsr [PC - 0x748 /* 00000464 */]
00000BAE 3D40 FFFA move.w [A6 - 0x6], D0
00000BB2 206D FF94 movea.l A0, [A5 - 0x6C]
00000BB6 3140 0002 move.w [A0 + 0x2], D0
00000BBA 206D FF94 movea.l A0, [A5 - 0x6C]
00000BBE 4228 0001 clr.b [A0 + 0x1]
00000BC2 C1FC 000C muls.w D0, 0xC
00000BC6 4234 080A clr.b [A4 + D0 + 0xA]
00000BCA 700C moveq.l D0, 0x0C
00000BCC C1EE FFFA muls.w D0, [A6 - 0x6]
00000BD0 2074 0800 movea.l A0, [A4 + D0]
00000BD4 A02A syscall HUnlock
00000BD6 700C moveq.l D0, 0x0C
00000BD8 C1EE FFFA muls.w D0, [A6 - 0x6]
00000BDC 2074 0800 movea.l A0, [A4 + D0]
00000BE0 202D FF90 move.l D0, [A5 - 0x70]
00000BE4 A024 syscall SetHandleSize
00000BE6 700C moveq.l D0, 0x0C
00000BE8 C1EE FFFA muls.w D0, [A6 - 0x6]
00000BEC 2074 0800 movea.l A0, [A4 + D0]
00000BF0 A064 syscall MoveHHi
00000BF2 A029 syscall HLock
00000BF4 700C moveq.l D0, 0x0C
00000BF6 C1EE FFFA muls.w D0, [A6 - 0x6]
00000BFA 2074 0800 movea.l A0, [A4 + D0]
00000BFE 700C moveq.l D0, 0x0C
00000C00 C1EE FFFA muls.w D0, [A6 - 0x6]
00000C04 3274 0804 movea.w A1, [A4 + D0 + 0x4]
00000C08 246D FF94 movea.l A2, [A5 - 0x6C]
00000C0C D3D0 add.l A1, [A0]
00000C0E 246A 000A movea.l A2, [A2 + 0xA]
00000C12 2549 0010 move.l [A2 + 0x10], A1
00000C16 5C8F addq.l A7, 6
label00000C18:
00000C18 206D FF94 movea.l A0, [A5 - 0x6C]
00000C1C 4228 001E clr.b [A0 + 0x1E]
00000C20 4A2D FFA4 tst.b [A5 - 0x5C]
00000C24 672A beq +0x2C /* 00000C50 */
00000C26 4267 clr.w -[A7]
00000C28 206D FF94 movea.l A0, [A5 - 0x6C]
00000C2C 2F28 000A move.l -[A7], [A0 + 0xA]
00000C30 1F3C 0001 move.b -[A7], 0x1
00000C34 203C 0320 0014 move.l D0, 0x3200014
00000C3A A800 syscall SoundDispatch
00000C3C 3E1F move.w D7, [A7]+
00000C3E 4A47 tst.w D7
00000C40 670E beq +0x10 /* 00000C50 */
00000C42 3F3C 000A move.w -[A7], 0xA /* '\n' */
00000C46 3F07 move.w -[A7], D7
00000C48 4EBA 06AA jsr [PC + 0x6AA /* 000012F4 */]
00000C4C 6000 01CE bra +0x1D0 /* 00000E1C */
label00000C50:
00000C50 4A2D FFA4 tst.b [A5 - 0x5C]
00000C54 6700 00B8 beq +0xBA /* 00000D0E */
00000C58 4A03 tst.b D3
00000C5A 6600 00B2 bne +0xB4 /* 00000D0E */
00000C5E 206D FF94 movea.l A0, [A5 - 0x6C]
00000C62 3F28 0004 move.w -[A7], [A0 + 0x4]
00000C66 2F0C move.l -[A7], A4
00000C68 4EBA F78E jsr [PC - 0x872 /* 000003F8 */]
00000C6C 3C00 move.w D6, D0
00000C6E 206D FF94 movea.l A0, [A5 - 0x6C]
00000C72 BC68 0004 cmp.w D6, [A0 + 0x4]
00000C76 5C8F addq.l A7, 6
00000C78 6E00 0094 bgt +0x96 /* 00000D0E */
00000C7C 700C moveq.l D0, 0x0C
00000C7E C1C6 muls.w D0, D6
00000C80 2D74 0806 FFFC move.l [A6 - 0x4], [A4 + D0 + 0x6]
00000C86 4267 clr.w -[A7]
00000C88 700C moveq.l D0, 0x0C
00000C8A C1C6 muls.w D0, D6
00000C8C 2F34 0800 move.l -[A7], [A4 + D0]
00000C90 3F3C 0001 move.w -[A7], 0x1
00000C94 206D FF94 movea.l A0, [A5 - 0x6C]
00000C98 2F28 001A move.l -[A7], [A0 + 0x1A]
00000C9C 3F3C 0008 move.w -[A7], 0x8
00000CA0 2F3C 4E4F 4E45 move.l -[A7], 0x4E4F4E45 /* 'NONE' */
00000CA6 3F3C 003C move.w -[A7], 0x3C /* '<' */
00000CAA 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000CAE 486E FFF6 pea.l [A6 - 0xA]
00000CB2 203C 0D48 0014 move.l D0, 0xD480014
00000CB8 A800 syscall SoundDispatch
00000CBA 3E1F move.w D7, [A7]+
00000CBC 4A47 tst.w D7
00000CBE 670E beq +0x10 /* 00000CCE */
00000CC0 3F3C 0003 move.w -[A7], 0x3
00000CC4 3F07 move.w -[A7], D7
00000CC6 4EBA 062C jsr [PC + 0x62C /* 000012F4 */]
00000CCA 6000 0150 bra +0x152 /* 00000E1C */
label00000CCE:
00000CCE 4A2D FF8C tst.b [A5 - 0x74]
00000CD2 6722 beq +0x24 /* 00000CF6 */
00000CD4 4878 0001 push.l 0x1
00000CD8 4EBA F6D4 jsr [PC - 0x92C /* 000003AE */]
00000CDC 4A40 tst.w D0
00000CDE 588F addq.l A7, 4
00000CE0 670A beq +0xC /* 00000CEC */
00000CE2 206D FF94 movea.l A0, [A5 - 0x6C]
00000CE6 2028 0016 move.l D0, [A0 + 0x16]
00000CEA 6012 bra +0x14 /* 00000CFE */
label00000CEC:
00000CEC 206D FF94 movea.l A0, [A5 - 0x6C]
00000CF0 2028 0012 move.l D0, [A0 + 0x12]
00000CF4 6008 bra +0xA /* 00000CFE */
label00000CF6:
00000CF6 206D FF94 movea.l A0, [A5 - 0x6C]
00000CFA 2028 0016 move.l D0, [A0 + 0x16]
label00000CFE:
00000CFE 2F00 move.l -[A7], D0
00000D00 700C moveq.l D0, 0x0C
00000D02 C1C6 muls.w D0, D6
00000D04 2F34 0800 move.l -[A7], [A4 + D0]
00000D08 4EBA F57E jsr [PC - 0xA82 /* 00000288 */]
00000D0C 508F addq.l A7, 8
label00000D0E:
00000D0E 4A2D FFA4 tst.b [A5 - 0x5C]
00000D12 6600 0108 bne +0x10A /* 00000E1C */
00000D16 206D FF94 movea.l A0, [A5 - 0x6C]
00000D1A 4A28 001F tst.b [A0 + 0x1F]
00000D1E 663E bne +0x40 /* 00000D5E */
00000D20 206D FF94 movea.l A0, [A5 - 0x6C]
00000D24 4210 clr.b [A0]
00000D26 4267 clr.w -[A7]
00000D28 206D FF94 movea.l A0, [A5 - 0x6C]
00000D2C 2F28 000A move.l -[A7], [A0 + 0xA]
00000D30 1F3C 0001 move.b -[A7], 0x1
00000D34 203C 0320 0014 move.l D0, 0x3200014
00000D3A A800 syscall SoundDispatch
00000D3C 3E1F move.w D7, [A7]+
00000D3E 4A47 tst.w D7
00000D40 670E beq +0x10 /* 00000D50 */
00000D42 3F3C 000A move.w -[A7], 0xA /* '\n' */
00000D46 3F07 move.w -[A7], D7
00000D48 4EBA 05AA jsr [PC + 0x5AA /* 000012F4 */]
00000D4C 6000 00CE bra +0xD0 /* 00000E1C */
label00000D50:
00000D50 206D FF94 movea.l A0, [A5 - 0x6C]
00000D54 117C 0001 001F move.b [A0 + 0x1F], 0x1
00000D5A 6000 00C0 bra +0xC2 /* 00000E1C */
label00000D5E:
00000D5E 206D FF94 movea.l A0, [A5 - 0x6C]
00000D62 3F28 0004 move.w -[A7], [A0 + 0x4]
00000D66 2F0C move.l -[A7], A4
00000D68 4EBA F68E jsr [PC - 0x972 /* 000003F8 */]
00000D6C 3C00 move.w D6, D0
00000D6E 206D FF94 movea.l A0, [A5 - 0x6C]
00000D72 BC68 0004 cmp.w D6, [A0 + 0x4]
00000D76 5C8F addq.l A7, 6
00000D78 6E00 0092 bgt +0x94 /* 00000E0C */
00000D7C 700C moveq.l D0, 0x0C
00000D7E C1C6 muls.w D0, D6
00000D80 2D74 0806 FFF8 move.l [A6 - 0x8], [A4 + D0 + 0x6]
00000D86 4267 clr.w -[A7]
00000D88 700C moveq.l D0, 0x0C
00000D8A C1C6 muls.w D0, D6
00000D8C 2F34 0800 move.l -[A7], [A4 + D0]
00000D90 3F3C 0001 move.w -[A7], 0x1
00000D94 206D FF94 movea.l A0, [A5 - 0x6C]
00000D98 2F28 001A move.l -[A7], [A0 + 0x1A]
00000D9C 3F3C 0008 move.w -[A7], 0x8
00000DA0 2F3C 4E4F 4E45 move.l -[A7], 0x4E4F4E45 /* 'NONE' */
00000DA6 3F3C 003C move.w -[A7], 0x3C /* '<' */
00000DAA 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000DAE 486E FFF6 pea.l [A6 - 0xA]
00000DB2 203C 0D48 0014 move.l D0, 0xD480014
00000DB8 A800 syscall SoundDispatch
00000DBA 3E1F move.w D7, [A7]+
00000DBC 4A47 tst.w D7
00000DBE 670C beq +0xE /* 00000DCC */
00000DC0 3F3C 0003 move.w -[A7], 0x3
00000DC4 3F07 move.w -[A7], D7
00000DC6 4EBA 052C jsr [PC + 0x52C /* 000012F4 */]
00000DCA 6050 bra +0x52 /* 00000E1C */
label00000DCC:
00000DCC 4A2D FF8C tst.b [A5 - 0x74]
00000DD0 6722 beq +0x24 /* 00000DF4 */
00000DD2 4878 0001 push.l 0x1
00000DD6 4EBA F5D6 jsr [PC - 0xA2A /* 000003AE */]
00000DDA 4A40 tst.w D0
00000DDC 588F addq.l A7, 4
00000DDE 670A beq +0xC /* 00000DEA */
00000DE0 206D FF94 movea.l A0, [A5 - 0x6C]
00000DE4 2028 0016 move.l D0, [A0 + 0x16]
00000DE8 6012 bra +0x14 /* 00000DFC */
label00000DEA:
00000DEA 206D FF94 movea.l A0, [A5 - 0x6C]
00000DEE 2028 0012 move.l D0, [A0 + 0x12]
00000DF2 6008 bra +0xA /* 00000DFC */
label00000DF4:
00000DF4 206D FF94 movea.l A0, [A5 - 0x6C]
00000DF8 2028 0016 move.l D0, [A0 + 0x16]
label00000DFC:
00000DFC 2F00 move.l -[A7], D0
00000DFE 700C moveq.l D0, 0x0C
00000E00 C1C6 muls.w D0, D6
00000E02 2F34 0800 move.l -[A7], [A4 + D0]
00000E06 4EBA F480 jsr [PC - 0xB80 /* 00000288 */]
00000E0A 508F addq.l A7, 8
label00000E0C:
00000E0C 206D FF94 movea.l A0, [A5 - 0x6C]
00000E10 4228 001F clr.b [A0 + 0x1F]
00000E14 206D FF94 movea.l A0, [A5 - 0x6C]
00000E18 10BC 0001 move.b [A0], 0x1
label00000E1C:
00000E1C 4CEE 14F8 FF9C movem.l D3,D4,D5,D6,D7,A2,A4, [A6 - 0x64]
00000E22 4E5E unlink A6
00000E24 4E75 rts
00000E26 8C43 or.w D6, D3
00000E28 6F6E ble +0x70 /* 00000E98 */
00000E2A 6675 bne +0x77 /* 00000EA1 */
00000E2C 7365 moveq.l D1, 0x65
00000E2E 536F 756E subq.w [A7 + 0x756E], 1
00000E32 6400 0000 bcc +0x2 /* 00000E34 */
// begin alternate branch 00000E34-00000E3A
label00000E34:
00000E34 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn00000E36: // (misaligned)
00000E38 FFF8 .extension 0xFF8 // unimplemented
// end alternate branch 00000E34-00000E3A
label00000E34: // (misaligned)
fn00000E36:
00000E36 4E56 FFF8 link A6, -0x0008
00000E3A 48E7 0300 movem.l -[A7], D6,D7
00000E3E 4AAD FF94 tst.l [A5 - 0x6C]
00000E42 6700 012E beq +0x130 /* 00000F72 */
00000E46 206D FF94 movea.l A0, [A5 - 0x6C]
00000E4A 4AA8 0016 tst.l [A0 + 0x16]
00000E4E 6722 beq +0x24 /* 00000E72 */
00000E50 4267 clr.w -[A7]
00000E52 206D FF94 movea.l A0, [A5 - 0x6C]
00000E56 2F28 0016 move.l -[A7], [A0 + 0x16]
00000E5A 1F3C 0001 move.b -[A7], 0x1
00000E5E A801 syscall SndDisposeChannel
00000E60 3E1F move.w D7, [A7]+
00000E62 4A47 tst.w D7
00000E64 670C beq +0xE /* 00000E72 */
00000E66 3F3C 000B move.w -[A7], 0xB
00000E6A 3F07 move.w -[A7], D7
00000E6C 4EBA 0486 jsr [PC + 0x486 /* 000012F4 */]
00000E70 588F addq.l A7, 4
label00000E72:
00000E72 4A2D FF8C tst.b [A5 - 0x74]
00000E76 672C beq +0x2E /* 00000EA4 */
00000E78 206D FF94 movea.l A0, [A5 - 0x6C]
00000E7C 4AA8 0012 tst.l [A0 + 0x12]
00000E80 6722 beq +0x24 /* 00000EA4 */
00000E82 4267 clr.w -[A7]
00000E84 206D FF94 movea.l A0, [A5 - 0x6C]
00000E88 2F28 0012 move.l -[A7], [A0 + 0x12]
00000E8C 1F3C 0001 move.b -[A7], 0x1
00000E90 A801 syscall SndDisposeChannel
00000E92 3E1F move.w D7, [A7]+
00000E94 4A47 tst.w D7
00000E96 670C beq +0xE /* 00000EA4 */
label00000E98:
00000E98 3F3C 000B move.w -[A7], 0xB
00000E9C 3F07 move.w -[A7], D7
00000E9E 4EBA 0454 jsr [PC + 0x454 /* 000012F4 */]
00000EA2 588F addq.l A7, 4
label00000EA4:
00000EA4 206D FF94 movea.l A0, [A5 - 0x6C]
00000EA8 4AA8 000E tst.l [A0 + 0xE]
00000EAC 6748 beq +0x4A /* 00000EF6 */
00000EAE 4267 clr.w -[A7]
00000EB0 206D FF94 movea.l A0, [A5 - 0x6C]
00000EB4 2F28 000E move.l -[A7], [A0 + 0xE]
00000EB8 203C 0230 0014 move.l D0, 0x2300014
00000EBE A800 syscall SoundDispatch
00000EC0 3E1F move.w D7, [A7]+
00000EC2 4A47 tst.w D7
00000EC4 670C beq +0xE /* 00000ED2 */
00000EC6 3F3C 000B move.w -[A7], 0xB
00000ECA 3F07 move.w -[A7], D7
00000ECC 4EBA 0426 jsr [PC + 0x426 /* 000012F4 */]
00000ED0 588F addq.l A7, 4
label00000ED2:
00000ED2 4267 clr.w -[A7]
00000ED4 206D FF94 movea.l A0, [A5 - 0x6C]
00000ED8 2F28 000E move.l -[A7], [A0 + 0xE]
00000EDC 203C 021C 0014 move.l D0, 0x21C0014
00000EE2 A800 syscall SoundDispatch
00000EE4 3E1F move.w D7, [A7]+
00000EE6 4A47 tst.w D7
00000EE8 670C beq +0xE /* 00000EF6 */
00000EEA 3F3C 000B move.w -[A7], 0xB
00000EEE 3F07 move.w -[A7], D7
00000EF0 4EBA 0402 jsr [PC + 0x402 /* 000012F4 */]
00000EF4 588F addq.l A7, 4
label00000EF6:
00000EF6 206D FF94 movea.l A0, [A5 - 0x6C]
00000EFA 4AA8 0006 tst.l [A0 + 0x6]
00000EFE 6746 beq +0x48 /* 00000F46 */
00000F00 7C00 moveq.l D6, 0x00
00000F02 6038 bra +0x3A /* 00000F3C */
label00000F04:
00000F04 206D FF94 movea.l A0, [A5 - 0x6C]
00000F08 700C moveq.l D0, 0x0C
00000F0A C1C6 muls.w D0, D6
00000F0C D0A8 0006 add.l D0, [A0 + 0x6]
00000F10 2240 movea.l A1, D0
00000F12 4A91 tst.l [A1]
00000F14 6724 beq +0x26 /* 00000F3A */
00000F16 206D FF94 movea.l A0, [A5 - 0x6C]
00000F1A 700C moveq.l D0, 0x0C
00000F1C C1C6 muls.w D0, D6
00000F1E D0A8 0006 add.l D0, [A0 + 0x6]
00000F22 2240 movea.l A1, D0
00000F24 2051 movea.l A0, [A1]
00000F26 A02A syscall HUnlock
00000F28 206D FF94 movea.l A0, [A5 - 0x6C]
00000F2C 700C moveq.l D0, 0x0C
00000F2E C1C6 muls.w D0, D6
00000F30 D0A8 0006 add.l D0, [A0 + 0x6]
00000F34 2240 movea.l A1, D0
00000F36 2051 movea.l A0, [A1]
00000F38 A023 syscall DisposHandle/DisposeHandle
label00000F3A:
00000F3A 5246 addq.w D6, 1
label00000F3C:
00000F3C 206D FF94 movea.l A0, [A5 - 0x6C]
00000F40 BC68 0004 cmp.w D6, [A0 + 0x4]
00000F44 6DBE blt -0x40 /* 00000F04 */
label00000F46:
00000F46 4AAD FF98 tst.l [A5 - 0x68]
00000F4A 670C beq +0xE /* 00000F58 */
00000F4C 206D FF98 movea.l A0, [A5 - 0x68]
00000F50 A02A syscall HUnlock
00000F52 206D FF98 movea.l A0, [A5 - 0x68]
00000F56 A023 syscall DisposHandle/DisposeHandle
label00000F58:
00000F58 206D FF94 movea.l A0, [A5 - 0x6C]
00000F5C 2068 0006 movea.l A0, [A0 + 0x6]
00000F60 A01F syscall DisposPtr/DisposePtr
00000F62 206D FF94 movea.l A0, [A5 - 0x6C]
00000F66 2068 000A movea.l A0, [A0 + 0xA]
00000F6A A01F syscall DisposPtr/DisposePtr
00000F6C 206D FF94 movea.l A0, [A5 - 0x6C]
00000F70 A01F syscall DisposPtr/DisposePtr
label00000F72:
00000F72 4CDF 00C0 movem.l D6,D7, [A7]+
00000F76 4E5E unlink A6
00000F78 4E75 rts
00000F7A 8D53 or.w [A3], D6
00000F7C 746F moveq.l D2, 0x6F
00000F7E 7043 moveq.l D0, 0x43
00000F80 6F6E ble +0x70 /* 00000FF0 */
00000F82 6675 bne +0x77 /* 00000FF9 */
00000F84 7369 moveq.l D1, 0x69
00000F86 6F6E ble +0x70 /* 00000FF6 */
00000F88 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000F8A-00000F8E
fn00000F8A:
00000F8A 4E56 FF58 link A6, -0x00A8
// end alternate branch 00000F8A-00000F8E
fn00000F8A: // (misaligned)
00000F8C FF58 .extension 0xF58 // unimplemented
00000F8E 48E7 0708 movem.l -[A7], D5,D6,D7,A4
00000F92 7C00 moveq.l D6, 0x00
00000F94 4267 clr.w -[A7]
00000F96 3F3C 0006 move.w -[A7], 0x6
00000F9A 486E FF9A pea.l [A6 - 0x66]
00000F9E 203C 0014 0008 move.l D0, 0x140008
00000FA4 A800 syscall SoundDispatch
00000FA6 3E1F move.w D7, [A7]+
00000FA8 4A47 tst.w D7
00000FAA 670C beq +0xE /* 00000FB8 */
00000FAC 3F3C 0014 move.w -[A7], 0x14
00000FB0 3F07 move.w -[A7], D7
00000FB2 4EBA 0340 jsr [PC + 0x340 /* 000012F4 */]
00000FB6 588F addq.l A7, 4
label00000FB8:
00000FB8 306E FF9C movea.w A0, [A6 - 0x64]
00000FBC 2F08 move.l -[A7], A0
00000FBE 486E FFE0 pea.l [A6 - 0x20]
00000FC2 4EBA F26C jsr [PC - 0xD94 /* 00000230 */]
00000FC6 306E FF9A movea.w A0, [A6 - 0x66]
00000FCA 2F08 move.l -[A7], A0
00000FCC 486E FFC0 pea.l [A6 - 0x40]
00000FD0 4EBA F25E jsr [PC - 0xDA2 /* 00000230 */]
00000FD4 306E FF9E movea.w A0, [A6 - 0x62]
00000FD8 2F08 move.l -[A7], A0
00000FDA 486E FFA0 pea.l [A6 - 0x60]
00000FDE 4EBA F250 jsr [PC - 0xDB0 /* 00000230 */]
00000FE2 486D FFA6 pea.l [A5 - 0x5A]
00000FE6 486E FFA0 pea.l [A6 - 0x60]
00000FEA 4EBA 00D8 jsr [PC + 0xD8 /* 000010C4 */]
00000FEE 486E FFC0 pea.l [A6 - 0x40]
// begin alternate branch 00000FF0-00000FF2
label00000FF0:
00000FF0 FFC0 .extension 0xFC0 // unimplemented
// end alternate branch 00000FF0-00000FF2
label00000FF0: // (misaligned)
00000FF2 486E FFA0 pea.l [A6 - 0x60]
label00000FF6:
00000FF6 4EBA 00CC jsr [PC + 0xCC /* 000010C4 */]
00000FFA 7A00 moveq.l D5, 0x00
00000FFC 4FEF 0010 lea.l A7, [A7 + 0x10]
00001000 6016 bra +0x18 /* 00001018 */
label00001002:
00001002 206D FF94 movea.l A0, [A5 - 0x6C]
00001006 700C moveq.l D0, 0x0C
00001008 C1C5 muls.w D0, D5
0000100A 2068 0006 movea.l A0, [A0 + 0x6]
0000100E 4A30 080A tst.b [A0 + D0 + 0xA]
00001012 6702 beq +0x4 /* 00001016 */
00001014 5246 addq.w D6, 1
label00001016:
00001016 5245 addq.w D5, 1
label00001018:
00001018 206D FF94 movea.l A0, [A5 - 0x6C]
0000101C BA68 0004 cmp.w D5, [A0 + 0x4]
00001020 6DE0 blt -0x1E /* 00001002 */
00001022 206D FF94 movea.l A0, [A5 - 0x6C]
00001026 3068 0004 movea.w A0, [A0 + 0x4]
0000102A 2F08 move.l -[A7], A0
0000102C 486E FF7A pea.l [A6 - 0x86]
00001030 4EBA F1FE jsr [PC - 0xE02 /* 00000230 */]
00001034 3046 movea.w A0, D6
00001036 2F08 move.l -[A7], A0
00001038 486E FF5A pea.l [A6 - 0xA6]
0000103C 4EBA F1F2 jsr [PC - 0xE0E /* 00000230 */]
00001040 486E FF7A pea.l [A6 - 0x86]
00001044 486E FF5A pea.l [A6 - 0xA6]
00001048 486E FFE0 pea.l [A6 - 0x20]
0000104C 486E FFA0 pea.l [A6 - 0x60]
00001050 A98B syscall ParamText
00001052 42A7 clr.l -[A7]
00001054 3F3C 0080 move.w -[A7], 0x80
00001058 42A7 clr.l -[A7]
0000105A 4878 FFFF push.l 0xFFFF
0000105E A97C syscall GetNewDialog
00001060 285F movea.l A4, [A7]+
00001062 42A7 clr.l -[A7]
00001064 486E FF58 pea.l [A6 - 0xA8]
00001068 A991 syscall ModalDialog
0000106A 2F0C move.l -[A7], A4
0000106C A983 syscall DisposeDialog
0000106E 4CDF 10E0 movem.l D5,D6,D7,A4, [A7]+
00001072 4E5E unlink A6
00001074 4E75 rts
00001076 8744 6F41 pack D3, D4, 0x6F41
0000107A 626F bhi +0x71 /* 000010EB */
0000107C 7574 moveq.l D2, 0x74
0000107E 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_10: // at 00001080 (misaligned)
00001082 0000 2F0B ori.b D0, 0xB
00001086 206E 0008 movea.l A0, [A6 + 0x8]
0000108A 2668 001C movea.l A3, [A0 + 0x1C]
0000108E 16BC 0001 move.b [A3], 0x1
00001092 4A68 0020 tst.w [A0 + 0x20]
00001096 6718 beq +0x1A /* 000010B0 */
00001098 4A2D FFA8 tst.b [A5 - 0x58]
0000109C 6612 bne +0x14 /* 000010B0 */
0000109E 3F3C 0003 move.w -[A7], 0x3
000010A2 206E 0008 movea.l A0, [A6 + 0x8]
000010A6 3F28 0020 move.w -[A7], [A0 + 0x20]
000010AA 4EBA 0248 jsr [PC + 0x248 /* 000012F4 */]
000010AE 588F addq.l A7, 4
label000010B0:
000010B0 265F movea.l A3, [A7]+
000010B2 4E5E unlink A6
000010B4 2E9F move.l [A7], [A7]+
000010B6 4E75 rts
000010B8 894D 7952 pack -[A4], -[A5], 0x7952
000010BC 6563 bcs +0x65 /* 00001121 */
000010BE 436F 6D70 chk.w D1, [A7 + 0x6D70]
000010C2 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000010C4-000010CC
fn000010C4:
000010C4 4E56 0000 link A6, 0
000010C8 48E7 0318 movem.l -[A7], D6,D7,A3,A4
// end alternate branch 000010C4-000010CC
fn000010C4: // (misaligned)
000010C6 0000 48E7 ori.b D0, 0xE7
000010CA 0318 btst [A0]+, D1
000010CC 286E 0008 movea.l A4, [A6 + 0x8]
000010D0 206E 000C movea.l A0, [A6 + 0xC]
000010D4 7C00 moveq.l D6, 0x00
000010D6 1C10 move.b D6, [A0]
000010D8 264C movea.l A3, A4
000010DA 7000 moveq.l D0, 0x00
000010DC 1014 move.b D0, [A4]
000010DE D08C add.l D0, A4
000010E0 2840 movea.l A4, D0
000010E2 7E01 moveq.l D7, 0x01
000010E4 600E bra +0x10 /* 000010F4 */
label000010E6:
000010E6 52AE 000C addq.l [A6 + 0xC], 1
000010EA 206E 000C movea.l A0, [A6 + 0xC]
000010EE 528C addq.l A4, 1
000010F0 1890 move.b [A4], [A0]
000010F2 5247 addq.w D7, 1
label000010F4:
000010F4 BC47 cmp.w D6, D7
000010F6 64EE bcc -0x10 /* 000010E6 */
000010F8 5347 subq.w D7, 1
000010FA DF13 add.b [A3], D7
000010FC 200B move.l D0, A3
000010FE 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00001102 4E5E unlink A6
00001104 4E75 rts
00001106 8750 or.w [A0], D3
00001108 7374 moveq.l D1, 0x74
0000110A 7263 moveq.l D1, 0x63
0000110C 6174 bsr +0x76 /* 00001182 */
0000110E 0000 2F07 ori.b D0, 0x7
export_15: // at 00001110 (misaligned)
00001112 4EBA 02A8 jsr [PC + 0x2A8 /* 000013BC */]
00001116 4EBA F4F4 jsr [PC - 0xB0C /* 0000060C */]
0000111A 602C bra +0x2E /* 00001148 */
label0000111C:
0000111C 4227 clr.b -[A7]
0000111E 3F3C FFFF move.w -[A7], 0xFFFF
00001122 486D FFE0 pea.l [A5 - 0x20]
00001126 2F2D FFAA move.l -[A7], [A5 - 0x56]
0000112A 42A7 clr.l -[A7]
0000112C A860 syscall WaitNextEvent
0000112E 1E1F move.b D7, [A7]+
00001130 4A07 tst.b D7
00001132 670A beq +0xC /* 0000113E */
00001134 486D FFE0 pea.l [A5 - 0x20]
00001138 4EBA 001E jsr [PC + 0x1E /* 00001158 */]
0000113C 588F addq.l A7, 4
label0000113E:
0000113E 4A2D FFA8 tst.b [A5 - 0x58]
00001142 6604 bne +0x6 /* 00001148 */
00001144 4EBA F8E2 jsr [PC - 0x71E /* 00000A28 */]
label00001148:
00001148 4A2D FFA8 tst.b [A5 - 0x58]
0000114C 67CE beq -0x30 /* 0000111C */
0000114E 4EBA FCE6 jsr [PC - 0x31A /* 00000E36 */]
00001152 A9F4 syscall ExitToShell
00001154 2E1F move.l D7, [A7]+
00001156 4E75 rts
fn00001158:
00001158 4E56 FFFA link A6, -0x0006
0000115C 48E7 0308 movem.l -[A7], D6,D7,A4
00001160 286E 0008 movea.l A4, [A6 + 0x8]
00001164 3014 move.w D0, [A4]
00001166 0C40 0017 cmpi.w D0, 0x17
0000116A 6200 00AC bhi +0xAE /* 00001218 */
0000116E 43FA 00BA lea.l A1, [PC + 0xBA /* 0000122A, value 0xFFEEFF50 */]
00001172 D040 add.w D0, D0
00001174 D2F1 0000 add.w A1, [A1 + D0.w]
00001178 4ED1 jmp [A1]
0000117A 4267 clr.w -[A7]
0000117C 2F2C 000A move.l -[A7], [A4 + 0xA]
00001180 486E FFFC pea.l [A6 - 0x4]
// begin alternate branch 00001182-00001184
fn00001182:
00001182 FFFC .extension 0xFFC // unimplemented
// end alternate branch 00001182-00001184
fn00001182: // (misaligned)
00001184 A92C syscall FindWindow
00001186 3E1F move.w D7, [A7]+
00001188 3007 move.w D0, D7
0000118A 6700 008C beq +0x8E /* 00001218 */
0000118E 6B00 0088 bmi +0x8A /* 00001218 */
00001192 5540 subq.w D0, 2
00001194 6718 beq +0x1A /* 000011AE */
00001196 6A00 0080 bpl +0x82 /* 00001218 */
0000119A 4EBA 021E jsr [PC + 0x21E /* 000013BA */]
0000119E 42A7 clr.l -[A7]
000011A0 2F2C 000A move.l -[A7], [A4 + 0xA]
000011A4 A93D syscall MenuSelect
000011A6 4EBA 00B2 jsr [PC + 0xB2 /* 0000125A */]
000011AA 588F addq.l A7, 4
000011AC 606A bra +0x6C /* 00001218 */
label000011AE:
000011AE 2F0C move.l -[A7], A4
000011B0 2F2E FFFC move.l -[A7], [A6 - 0x4]
000011B4 A9B3 syscall SystemClick
000011B6 6060 bra +0x62 /* 00001218 */
000011B8 7CFF moveq.l D6, 0xFFFFFFFF
000011BA CC2C 0005 and.b D6, [A4 + 0x5]
000011BE 082C 0000 000E btst.b [A4 + 0xE], 0x0
000011C4 6752 beq +0x54 /* 00001218 */
000011C6 0C54 0003 cmpi.w [A4], 0x3
000011CA 664C bne +0x4E /* 00001218 */
000011CC 4EBA 01EC jsr [PC + 0x1EC /* 000013BA */]
000011D0 42A7 clr.l -[A7]
000011D2 1006 move.b D0, D6
000011D4 4880 ext.w D0
000011D6 3F00 move.w -[A7], D0
000011D8 A93E syscall MenuKey
000011DA 4EBA 007E jsr [PC + 0x7E /* 0000125A */]
000011DE 588F addq.l A7, 4
000011E0 6036 bra +0x38 /* 00001218 */
000011E2 202C 0002 move.l D0, [A4 + 0x2]
000011E6 7218 moveq.l D1, 0x18
000011E8 E2A0 asr D0, D1
000011EA 0280 0000 00FF andi.l D0, 0xFF
000011F0 6726 beq +0x28 /* 00001218 */
000011F2 6B24 bmi +0x26 /* 00001218 */
000011F4 5580 subq.l D0, 2
000011F6 6A20 bpl +0x22 /* 00001218 */
000011F8 082C 0000 0005 btst.b [A4 + 0x5], 0x0
000011FE 57C0 seq D0
00001200 4400 neg.b D0
00001202 1B40 FFDE move.b [A5 - 0x22], D0
00001206 6010 bra +0x12 /* 00001218 */
00001208 4A2D FFF0 tst.b [A5 - 0x10]
0000120C 670A beq +0xC /* 00001218 */
0000120E 486D FFE0 pea.l [A5 - 0x20]
00001212 4EBA 02B0 jsr [PC + 0x2B0 /* 000014C4 */]
00001216 588F addq.l A7, 4
label00001218:
00001218 4CDF 10C0 movem.l D6,D7,A4, [A7]+
0000121C 4E5E unlink A6
0000121E 4E75 rts
00001220 8744 6F45 pack D3, D4, 0x6F45
00001224 7665 moveq.l D3, 0x65
00001226 6E74 bgt +0x76 /* 0000129C */
00001228 0030 FFEE FF50 ori.b [A0], 0xEE
0000122E FFEE .extension 0xFEE // unimplemented
00001230 FF8E .extension 0xF8E // unimplemented
00001232 FFEE .extension 0xFEE // unimplemented
00001234 FF8E .extension 0xF8E // unimplemented
00001236 FFEE .extension 0xFEE // unimplemented
00001238 FFEE .extension 0xFEE // unimplemented
0000123A FFEE .extension 0xFEE // unimplemented
0000123C FFEE .extension 0xFEE // unimplemented
0000123E FFEE .extension 0xFEE // unimplemented
00001240 FFEE .extension 0xFEE // unimplemented
00001242 FFEE .extension 0xFEE // unimplemented
00001244 FFEE .extension 0xFEE // unimplemented
00001246 FFEE .extension 0xFEE // unimplemented
00001248 FFB8 .extension 0xFB8 // unimplemented
0000124A FFEE .extension 0xFEE // unimplemented
0000124C FFEE .extension 0xFEE // unimplemented
0000124E FFEE .extension 0xFEE // unimplemented
00001250 FFEE .extension 0xFEE // unimplemented
00001252 FFEE .extension 0xFEE // unimplemented
00001254 FFEE .extension 0xFEE // unimplemented
00001256 FFEE .extension 0xFEE // unimplemented
00001258 FFDE .extension 0xFDE // unimplemented
fn0000125A:
0000125A 4E56 FEFE link A6, -0x0102
0000125E 48E7 0F00 movem.l -[A7], D4,D5,D6,D7
00001262 4267 clr.w -[A7]
00001264 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001268 A86A syscall HiWord
0000126A 3E1F move.w D7, [A7]+
0000126C 4267 clr.w -[A7]
0000126E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001272 A86B syscall LoWord
00001274 3C1F move.w D6, [A7]+
00001276 3007 move.w D0, D7
00001278 6B5E bmi +0x60 /* 000012D8 */
0000127A 0440 0081 subi.w D0, 0x81
0000127E 673A beq +0x3C /* 000012BA */
00001280 6A06 bpl +0x8 /* 00001288 */
00001282 5240 addq.w D0, 1
00001284 6A08 bpl +0xA /* 0000128E */
00001286 6050 bra +0x52 /* 000012D8 */
label00001288:
00001288 5540 subq.w D0, 2
0000128A 6A4C bpl +0x4E /* 000012D8 */
0000128C 603E bra +0x40 /* 000012CC */
label0000128E:
0000128E 3006 move.w D0, D6
00001290 670C beq +0xE /* 0000129E */
00001292 6B0A bmi +0xC /* 0000129E */
00001294 5540 subq.w D0, 2
00001296 6A06 bpl +0x8 /* 0000129E */
00001298 4EBA FCF0 jsr [PC - 0x310 /* 00000F8A */]
label0000129C:
0000129C 603A bra +0x3C /* 000012D8 */
label0000129E:
0000129E 42A7 clr.l -[A7]
000012A0 3F3C 0080 move.w -[A7], 0x80
000012A4 A949 syscall GetMenuHandle
000012A6 3F06 move.w -[A7], D6
000012A8 486E FEFE pea.l [A6 - 0x102]
000012AC A946 syscall GetMenuItemText/GetItem
000012AE 4267 clr.w -[A7]
000012B0 486E FEFE pea.l [A6 - 0x102]
000012B4 A9B6 syscall OpenDeskAcc
000012B6 3A1F move.w D5, [A7]+
000012B8 601E bra +0x20 /* 000012D8 */
label000012BA:
000012BA 3006 move.w D0, D6
000012BC 671A beq +0x1C /* 000012D8 */
000012BE 6B18 bmi +0x1A /* 000012D8 */
000012C0 5540 subq.w D0, 2
000012C2 6A14 bpl +0x16 /* 000012D8 */
000012C4 1B7C 0001 FFA8 move.b [A5 - 0x58], 0x1
000012CA 600C bra +0xE /* 000012D8 */
label000012CC:
000012CC 4227 clr.b -[A7]
000012CE 70FF moveq.l D0, 0xFFFFFFFF
000012D0 D046 add.w D0, D6
000012D2 3F00 move.w -[A7], D0
000012D4 A9C2 syscall SysEdit
000012D6 181F move.b D4, [A7]+
label000012D8:
000012D8 4267 clr.w -[A7]
000012DA A938 syscall HiliteMenu
000012DC 4CDF 00F0 movem.l D4,D5,D6,D7, [A7]+
000012E0 4E5E unlink A6
000012E2 4E75 rts
000012E4 8D44 6F4D pack D6, D4, 0x6F4D
000012E8 656E bcs +0x70 /* 00001358 */
000012EA 7543 moveq.l D2, 0x43
000012EC 6F6D ble +0x6F /* 0000135B */
000012EE 6D61 blt +0x63 /* 00001351 */
000012F0 6E64 bgt +0x66 /* 00001356 */
000012F2 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000012F4-000012F8
fn000012F4:
000012F4 4E56 FDFE link A6, -0x0202
// end alternate branch 000012F4-000012F8
fn000012F4: // (misaligned)
000012F6 FDFE .extension 0xDFE // unimplemented
000012F8 48E7 0108 movem.l -[A7], D7,A4
000012FC 3E2E 0008 move.w D7, [A6 + 0x8]
00001300 48C7 ext.l D7
00001302 486D FF1A pea.l [A5 - 0xE6]
00001306 A851 syscall SetCursor
00001308 486E FDFE pea.l [A6 - 0x202]
0000130C 3F3C 0080 move.w -[A7], 0x80
00001310 3F2E 000A move.w -[A7], [A6 + 0xA]
00001314 4EBA EF2C jsr [PC - 0x10D4 /* 00000242 */]
00001318 2F07 move.l -[A7], D7
0000131A 486E FEFE pea.l [A6 - 0x102]
0000131E 4EBA EF10 jsr [PC - 0x10F0 /* 00000230 */]
00001322 486E FEFE pea.l [A6 - 0x102]
00001326 486E FDFE pea.l [A6 - 0x202]
0000132A 486D FFF2 pea.l [A5 - 0xE]
0000132E 486D FFF4 pea.l [A5 - 0xC]
00001332 A98B syscall ParamText
00001334 42A7 clr.l -[A7]
00001336 3F3C 0081 move.w -[A7], 0x81
0000133A 42A7 clr.l -[A7]
0000133C 4878 FFFF push.l 0xFFFF
00001340 A97C syscall GetNewDialog
00001342 285F movea.l A4, [A7]+
00001344 42A7 clr.l -[A7]
00001346 486E FFFE pea.l [A6 - 0x2]
0000134A A991 syscall ModalDialog
0000134C 2F0C move.l -[A7], A4
0000134E A983 syscall DisposeDialog
00001350 1B7C 0001 FFA8 move.b [A5 - 0x58], 0x1
label00001356:
00001356 4CDF 1080 movem.l D7,A4, [A7]+
// begin alternate branch 00001358-0000135A
label00001358:
00001358 1080 move.b [A0], D0
// end alternate branch 00001358-0000135A
label00001358: // (misaligned)
0000135A 4E5E unlink A6
0000135C 4E75 rts
0000135E 8941 6C65 pack D4, D1, 0x6C65
00001362 7274 moveq.l D1, 0x74
00001364 5573 6572 0000 4E56 FFFE subq.w [[A3 + 0x4E56] - 0x2], 2
0000136E 2F0C move.l -[A7], A4
00001370 486D FF1A pea.l [A5 - 0xE6]
00001374 A851 syscall SetCursor
00001376 486D FFF6 pea.l [A5 - 0xA]
0000137A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000137E 486D FFFC pea.l [A5 - 0x4]
00001382 486D FFFE pea.l [A5 - 0x2]
00001386 A98B syscall ParamText
00001388 42A7 clr.l -[A7]
0000138A 3F3C 0081 move.w -[A7], 0x81
0000138E 42A7 clr.l -[A7]
00001390 4878 FFFF push.l 0xFFFF
00001394 A97C syscall GetNewDialog
00001396 285F movea.l A4, [A7]+
00001398 42A7 clr.l -[A7]
0000139A 486E FFFE pea.l [A6 - 0x2]
0000139E A991 syscall ModalDialog
000013A0 2F0C move.l -[A7], A4
000013A2 A983 syscall DisposeDialog
000013A4 285F movea.l A4, [A7]+
000013A6 4E5E unlink A6
000013A8 4E75 rts
000013AA 8C41 or.w D6, D1
000013AC 6C65 bge +0x67 /* 00001413 */
000013AE 7274 moveq.l D1, 0x74
000013B0 5573 6572 5374 7200 0000 subq.w [[A3 + 0x53747200]], 2
fn000013BA:
000013BA 4E75 rts
fn000013BC:
000013BC 4E56 FFF0 link A6, -0x0010
000013C0 48E7 0108 movem.l -[A7], D7,A4
000013C4 422D FFDE clr.b [A5 - 0x22]
000013C8 486D FF86 pea.l [A5 - 0x7A]
000013CC A86E syscall InitGraf
000013CE A8FE syscall InitFonts
000013D0 A912 syscall InitWindows
000013D2 A930 syscall InitMenus
000013D4 A9CC syscall TEInit
000013D6 42A7 clr.l -[A7]
000013D8 A97B syscall InitDialogs
000013DA A850 syscall InitCursor
000013DC 7E01 moveq.l D7, 0x01
000013DE 6010 bra +0x12 /* 000013F0 */
label000013E0:
000013E0 4227 clr.b -[A7]
000013E2 3F3C FFFF move.w -[A7], 0xFFFF
000013E6 486E FFF0 pea.l [A6 - 0x10]
000013EA A971 syscall EventAvail
000013EC 548F addq.l A7, 2
000013EE 5247 addq.w D7, 1
label000013F0:
000013F0 0C47 0003 cmpi.w D7, 0x3
000013F4 6FEA ble -0x14 /* 000013E0 */
000013F6 A063 syscall MaxApplZone
000013F8 42A7 clr.l -[A7]
000013FA 3F3C 0080 move.w -[A7], 0x80
000013FE A9C0 syscall GetNewMBar
00001400 285F movea.l A4, [A7]+
00001402 2F0C move.l -[A7], A4
00001404 A93C syscall SetMenuBar
00001406 204C movea.l A0, A4
00001408 A023 syscall DisposHandle/DisposeHandle
0000140A 42A7 clr.l -[A7]
0000140C 3F3C 0080 move.w -[A7], 0x80
00001410 A949 syscall GetMenuHandle
00001412 2F3C 4452 5652 move.l -[A7], 0x44525652 /* 'DRVR' */
00001418 A94D syscall AppendResMenu/AddResMenu
0000141A A937 syscall DrawMenuBar
0000141C 4EBA 0018 jsr [PC + 0x18 /* 00001436 */]
00001420 4CDF 1080 movem.l D7,A4, [A7]+
00001424 4E5E unlink A6
00001426 4E75 rts
00001428 8A49 or.w D5, A1
0000142A 6E69 bgt +0x6B /* 00001495 */
0000142C 7469 moveq.l D2, 0x69
0000142E 616C bsr +0x6E /* 0000149C */
00001430 697A bvs +0x7C /* 000014AC */
00001432 6500 0000 bcs +0x2 /* 00001434 */
// begin alternate branch 00001434-0000143A
label00001434:
00001434 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn00001436: // (misaligned)
00001438 FFFC .extension 0xFFC // unimplemented
// end alternate branch 00001434-0000143A
label00001434: // (misaligned)
fn00001436:
00001436 4E56 FFFC link A6, -0x0004
0000143A 48E7 0700 movem.l -[A7], D5,D6,D7
0000143E 7C00 moveq.l D6, 0x00
00001440 42AE FFFC clr.l [A6 - 0x4]
00001444 7A00 moveq.l D5, 0x00
00001446 4267 clr.w -[A7]
00001448 2F3C 6576 6E74 move.l -[A7], 0x65766E74 /* 'evnt' */
0000144E 486E FFFC pea.l [A6 - 0x4]
00001452 4EBA EBAC jsr [PC - 0x1454 /* 00000000 */]
00001456 4A5F tst.w [A7]+
00001458 57C5 seq D5
0000145A 4405 neg.b D5
0000145C 4A05 tst.b D5
0000145E 674E beq +0x50 /* 000014AE */
00001460 7E00 moveq.l D7, 0x00
00001462 6044 bra +0x46 /* 000014A8 */
label00001464:
00001464 4267 clr.w -[A7]
00001466 700C moveq.l D0, 0x0C
00001468 C1C7 muls.w D0, D7
0000146A 204D movea.l A0, A5
0000146C D1C0 add.l A0, D0
0000146E 2F28 FFAE move.l -[A7], [A0 - 0x52]
00001472 700C moveq.l D0, 0x0C
00001474 C1C7 muls.w D0, D7
00001476 204D movea.l A0, A5
00001478 D1C0 add.l A0, D0
0000147A 2F28 FFB2 move.l -[A7], [A0 - 0x4E]
0000147E 700C moveq.l D0, 0x0C
00001480 C1C7 muls.w D0, D7
00001482 204D movea.l A0, A5
00001484 D1C0 add.l A0, D0
00001486 2F28 FFB6 move.l -[A7], [A0 - 0x4A]
0000148A 42A7 clr.l -[A7]
0000148C 4227 clr.b -[A7]
0000148E 303C 091F move.w D0, 0x91F
00001492 A816 syscall Pack8
00001494 3C1F move.w D6, [A7]+
00001496 4A46 tst.w D6
00001498 670C beq +0xE /* 000014A6 */
0000149A 3F3C 0002 move.w -[A7], 0x2
// begin alternate branch 0000149C-000014A0
fn0000149C:
0000149C 0002 3F06 ori.b D2, 0x6
// end alternate branch 0000149C-000014A0
fn0000149C: // (misaligned)
0000149E 3F06 move.w -[A7], D6
000014A0 4EBA FE52 jsr [PC - 0x1AE /* 000012F4 */]
000014A4 588F addq.l A7, 4
label000014A6:
000014A6 5247 addq.w D7, 1
label000014A8:
000014A8 0C47 0004 cmpi.w D7, 0x4
label000014AC:
000014AC 65B6 bcs -0x48 /* 00001464 */
label000014AE:
000014AE 4CDF 00E0 movem.l D5,D6,D7, [A7]+
000014B2 4E5E unlink A6
000014B4 4E75 rts
000014B6 8B49 6E69 pack -[A5], -[A1], 0x6E69
000014BA 7441 moveq.l D2, 0x41
000014BC 4553 chk.w D2, [A3]
000014BE 7475 moveq.l D2, 0x75
000014C0 6666 bne +0x68 /* 00001528 */
000014C2 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000014C4-000014CA
fn000014C4:
000014C4 4E56 0000 link A6, 0
000014C8 4267 clr.w -[A7]
// end alternate branch 000014C4-000014CA
fn000014C4: // (misaligned)
000014C6 0000 4267 ori.b D0, 0x67 /* 'g' */
000014CA 2F2E 0008 move.l -[A7], [A6 + 0x8]
000014CE 303C 021B move.w D0, 0x21B
000014D2 A816 syscall Pack8
000014D4 4E5E unlink A6
000014D6 4E75 rts
000014D8 8B44 6F48 pack D5, D4, 0x6F48
000014DC 6967 bvs +0x69 /* 00001545 */
000014DE 684C bvc +0x4E /* 0000152C */
000014E0 6576 bcs +0x78 /* 00001558 */
000014E2 656C bcs +0x6E /* 00001550 */
000014E4 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_11: // at 000014E6 (misaligned)
000014E8 0000 426E ori.b D0, 0x6E /* 'n' */
000014EC 0014 4E5E ori.b [A4], 0x5E /* '^' */
000014F0 205F movea.l A0, [A7]+
000014F2 4FEF 000C lea.l A7, [A7 + 0xC]
000014F6 4ED0 jmp [A0]
000014F8 8D41 454F pack D6, D1, 0x454F
000014FC 7065 moveq.l D0, 0x65
000014FE 6E48 bgt +0x4A /* 00001548 */
00001500 616E bsr +0x70 /* 00001570 */
00001502 646C bcc +0x6E /* 00001570 */
00001504 6572 bcs +0x74 /* 00001578 */
00001506 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_12: // at 00001508 (misaligned)
0000150A 0000 3D7C ori.b D0, 0x7C /* '|' */
0000150E F954 .extension 0x954 // unimplemented
00001510 0014 4E5E ori.b [A4], 0x5E /* '^' */
00001514 205F movea.l A0, [A7]+
00001516 4FEF 000C lea.l A7, [A7 + 0xC]
0000151A 4ED0 jmp [A0]
0000151C 9041 sub.w D0, D1
0000151E 454F chk.w D2, A7
00001520 7065 moveq.l D0, 0x65
00001522 6E44 bgt +0x46 /* 00001568 */
00001524 6F63 ble +0x65 /* 00001589 */
00001526 4861 pea.l -[A1]
label00001528:
00001528 6E64 bgt +0x66 /* 0000158E */
0000152A 6C65 bge +0x67 /* 00001591 */
label0000152C:
0000152C 7200 moveq.l D1, 0x00
0000152E 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_13: // at 00001530 (misaligned)
00001532 0000 3D7C ori.b D0, 0x7C /* '|' */
00001536 F954 .extension 0x954 // unimplemented
00001538 0014 4E5E ori.b [A4], 0x5E /* '^' */
0000153C 205F movea.l A0, [A7]+
0000153E 4FEF 000C lea.l A7, [A7 + 0xC]
00001542 4ED0 jmp [A0]
00001544 8E41 or.w D7, D1
00001546 4550 chk.w D2, [A0]
label00001548:
00001548 7269 moveq.l D1, 0x69
0000154A 6E74 bgt +0x76 /* 000015C0 */
0000154C 4861 pea.l -[A1]
0000154E 6E64 bgt +0x66 /* 000015B4 */
label00001550:
00001550 6C65 bge +0x67 /* 000015B7 */
00001552 7200 moveq.l D1, 0x00
00001554 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_14: // at 00001556 (misaligned)
label00001558:
00001558 0000 1B7C ori.b D0, 0x7C /* '|' */
0000155C 0001 FFA8 ori.b D1, 0xA8
00001560 426E 0014 clr.w [A6 + 0x14]
00001564 4E5E unlink A6
00001566 205F movea.l A0, [A7]+
label00001568:
00001568 4FEF 000C lea.l A7, [A7 + 0xC]
0000156C 4ED0 jmp [A0]
0000156E 8D41 4551 pack D6, D1, 0x4551
// begin alternate branch 00001570-00001572
fn00001570:
00001570 4551 chk.w D2, [A1]
// end alternate branch 00001570-00001572
fn00001570: // (misaligned)
00001572 7569 moveq.l D2, 0x69
00001574 7448 moveq.l D2, 0x48
00001576 616E bsr +0x70 /* 000015E6 */
label00001578:
00001578 646C bcc +0x6E /* 000015E6 */
0000157A 6572 bcs +0x74 /* 000015EE */
0000157C 0000 .incomplete